Date: Thu, 03 Feb 2000 19:34:14 -0500 From: "James A. Mutter" <jmutter@ds.net> To: Ben Smithurst <ben@scientia.demon.co.uk> Cc: rl@overlypub.com, freebsd-questions@FreeBSD.ORG Subject: Re: file in use? Message-ID: <389A1E86.FAE11709@ds.net> References: <l03130300b4bf50e8a4a0@[10.0.0.5]> <20000203224217.A3275@strontium.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Second question: How can I have this script run automatically at startup? > > If there is a problem, I want the script to quit, so I don't want to use > > cron. I tried an entry in rc.local but I don't think that is right either. > > Are there any other options besides these two? > > /etc/rc.local is one way (I prefer it), the other way is to add a .sh > shell script to /usr/local/etc/rc.d (rc.d is good for packages to use, > but for things I add manually, I prefer rc.local). In what way didn't it > work when you tried using rc.local, or are you saying it did work, but > you just didn't think it was the "right" way? If it works, use it. > Whether or not you use /etc/rc.local or /usr/local/etc/rc.d depends on when you want an application to fire, in some cases this could be important. It looks like those in /usr/local/etc/rc.d are executed before those in /etc/rc.local. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?389A1E86.FAE11709>