Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 1998 15:44:59 +0100 (MET)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD hackers mailing list <hackers@FreeBSD.ORG>
Subject:   Re: /etc/rc.d, and changes to /etc/rc?
Message-ID:  <Pine.GSO.3.95q.981119154451.8084J-100000@elect8>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.981119154451.8084J-100000>