From owner-freebsd-bugs Mon Jun 1 14:10:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05888 for freebsd-bugs-outgoing; Mon, 1 Jun 1998 14:10:52 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA05805 for ; Mon, 1 Jun 1998 14:10:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA12752; Mon, 1 Jun 1998 14:10:01 -0700 (PDT) Date: Mon, 1 Jun 1998 14:10:01 -0700 (PDT) Message-Id: <199806012110.OAA12752@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jeff Aitken Subject: Re: misc/6818: local_startup section of /etc/rc Reply-To: Jeff Aitken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/6818; it has been noted by GNATS. From: Jeff Aitken 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/). 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