You are not logged in.
Pages: 1
From reading the Rc.conf wiki page, all I need to do to have a script run at boot time is add it to my /etc/rc.d/ and call it in the DAEMONS section of the /etc/rc.conf right?
Here is my script (/etc/rc.d/athcool-start):
#!/bin/bash
/usr/sbin/athcool on
I added "athcool-start" to my Daemons section of the /etc/rc.conf but the script doesn't run at boot up. Am I missing something?
Last edited by graysky (2009-02-17 20:22:10)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
take a look at the other scripts in the /etc/rc.d/ directory to see how such a script should look like. You should be able to modify one for your needs
Offline
to build on pressh's comment, most rc.d scripts have a start, stop, restart case statement form. i'm not sure if that's required to get it working correctly (i've got a custom dropboxd rc.d script that's giving me headaches at boot time so i won't offer any more "expertise" ).
now to my main point: it seems by the nature of your script, that that line would be better off in rc.local
//github/
Offline
@brisbin - Agreed.
Last edited by graysky (2009-02-17 20:57:33)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Pages: 1