startup script not working
Derek Ragona
derek at computinginnovations.com
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.
-Derek
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
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html
>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.
>Mik
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list