On Sun 06 Jun 2004 at 19:33:22, Andrew Hunter said: > I am using Debian 3.0 with kernel version 2.4. The following are the > contents of the /etc/init.d directory:
[...] > Hope that helps... I'll stop being a thread-breaking, bottom-posting jerk > now. :-) Debian doesn't have a "local" script (at least not one that I've ever seen), so you'll just have to create one yourself: #1: Create a shell script called "hdparm" in /etc/init.d that runs the desired hdparm command. #2: Create a symbolic link from the previously created /etc/init.d/hdparm to /etc/rc2.d/S20hdparm . Note that the target of the link is "S20hdparm" and not just "hdparm". That should do it. If you want the "hdparm" script to execute in all the runlevels, then create similar symbolic links in /etc/rc3.d, /etc/rc4.d, and /etc/rc5.d . -- Soren Harward <[EMAIL PROTECTED]> -- http://theboard.byu.edu/ "Americans are always attempting to run away from conformity, but unfortunately they always start running in the same direction." -- Art Buchwald
signature.asc
Description: Digital signature
_______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
