startup script not working

Derek Ragona derek at
Tue Jan 3 11:33:58 PST 2006

Make sure your script is named with the extension .sh

Also, don't assume your script has a proper environment.  You will do best 
to use full path names to any commands.


At 01:14 AM 1/3/2006, Mike Esquardez wrote:
>Hello.  I have been reading the docs but i can see what i'm doing 
>wrong.  I also was to read this 
>but I am not running a service, just some command that need to be run on 
>start up.
>I have a shell script that works when i run it as root. I have moved it to 
>/usr/local/etc/rc.d and chmod +x but it is not running when the pc starts. 
>Is moving file to usr/local/etc/rc.d/ and chmod +x all i have to do?
>Any ideas would be great. many thanks to you.
>Express yourself instantly with MSN Messenger! Download today it's FREE! 
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list