Date: Mon, 1 Jun 1998 14:10:01 -0700 (PDT) From: Jeff Aitken <jaitken@dimension.net> To: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/6818: local_startup section of /etc/rc Message-ID: <199806012110.OAA12752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/6818; it has been noted by GNATS. From: Jeff Aitken <jaitken@dimension.net> To: mph@pobox.com (Matthew Hunt) Cc: jaitken@wingnut.syntunix.com, FreeBSD-gnats-submit@freebsd.org Subject: Re: misc/6818: local_startup section of /etc/rc Date: Mon, 1 Jun 1998 17:06:12 -0400 (EDT) Matthew Hunt writes: > On Mon, Jun 01, 1998 at 02:45:06PM -0400, Jeff Aitken wrote: > > > The restriction that system startup scripts end in .sh > > is silly. > > Hm, I always took advantage of it by doing "mv foo.sh foo.sh.disabled" > to keep one from running. I suppose "chmod -x" would be just as well, > but whether the current behavior is a bug or a feature, I've been > taking advantage of it... This probably isn't the right place to continue this, but... One answer is the SYS-V way of doing it (I generally shudder at the thought of most SYS-V behavior, but I genuinely find this useful ;-). FreeBSD is kind of a hybrid between the old BSD style and the SYSV style, which means it doesn't fit nicely in either. In SYSV land, all you have to do is remove the appropriate Snn symlink, or (on even more intelligent systems) make the appropriate change in /etc/rc.config (or /etc/rc.config.d/<file>). Is anyone (besides me ;-) interested in this sort of thing? I'd be happy to work on it, but only if anybody gives a damn. I'm not familiar with what should/shouldn't go into /sbin/init (which is where this sort of thing would have to go, right?) but I'm certainly willing to learn. Anyway, unless there's a reason to CC the bug list anymore, send further responses to me privately. I'll summarize somewhere suitable (-hackers?) if anyone but me seems to care. Otherwise, I'll just 'mv foo foo.sh' and worry about something else... ;-) --Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806012110.OAA12752>