Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jan 2006 13:33:34 -0600
From:      Derek Ragona <derek@computinginnovations.com>
To:        "Mike Esquardez" <mikeala3@hotmail.com>, freebsd-questions@freebsd.org
Subject:   Re: startup script not working
Message-ID:  <6.0.0.22.2.20060103133217.0279b5b8@mail.computinginnovations.com>
In-Reply-To: <BAY7-F13E252A65D0DFF9E8E98259A2C0@phx.gbl>
References:  <BAY7-F13E252A65D0DFF9E8E98259A2C0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20060103133217.0279b5b8>