From owner-freebsd-hackers Thu Nov 19 06:45:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA07178 for freebsd-hackers-outgoing; Thu, 19 Nov 1998 06:45:36 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA07170 for ; Thu, 19 Nov 1998 06:45:33 -0800 (PST) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with SMTP id PAA03800 for ; Thu, 19 Nov 1998 15:45:01 +0100 (MET) Date: Thu, 19 Nov 1998 15:44:59 +0100 (MET) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: FreeBSD hackers mailing list Subject: Re: /etc/rc.d, and changes to /etc/rc? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't like this idea, the scripts will be inherently incompatible with the ones in /usr/local/etc/rc.d case word in stop) *) esac solves that. Nick > ># Check for first parameter > >if [ $1x = x ]; then > > echo ${basename}: No argument provided > > exit 1 > >fi > > I like your idea because I find sysV's /etc/init.d convenient. One > suggestion: could you put the above boilerplate into a file that gets > sourced by all the /etc/rc.d scripts (in case you want to make a > global change to it)? And I dislike calling the scripts > /etc/rc.d/foo.sh because (IMO) the .sh is redundant and potentially > misleading if (e.g.) the sysadmin decides to rewrite them in Perl. > > Tony. > -- > 7yuc zhd2**f.a.n.finch > dot@dotat.at > fanf@demon.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message