Date: Sat, 27 Jan 1996 03:07:16 +0100 (MET) From: Ollivier Robert <roberto@keltia.freenix.fr> To: winter@jurai.net (Matthew N. Dodd) Cc: andreas@knobel.gun.de, ports@FreeBSD.org Subject: Re: WARNING: proposed change to samba port Message-ID: <199601270207.DAA24074@keltia.freenix.fr> In-Reply-To: <Pine.BSF.3.91.960126043829.290B-100000@sasami> from "Matthew N. Dodd" at "Jan 26, 96 04:52:24 am"
next in thread | previous in thread | raw e-mail | index | archive | help
It seems that Matthew N. Dodd said: > Shall we discuss how the /etc/rc / sysconfig stuff needs to work > so packages can add their own config stuff next? Just modify them to add scripts in /usr/local/etc/rc.d (cf /etc/sysconfig: #!/bin/sh # # This is sysconfig - a file full of useful variables that you can set # to change the default startup behavior of your system. # # $Id: sysconfig,v 1.31 1996/01/06 20:49:18 jkh Exp $ ######################### Start Of Local Configuration Section ########### # Location of local startup directories. local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" I do not use it because I use /etc/rc.d instead bu the idea remains the same... /etc/init.d: total 3 -rw-r--r-- 1 root wheel 188 Sep 25 02:44 README -rwxr-x--- 1 root wheel 258 Sep 25 02:20 news.sh* -rwxr-x--- 1 root wheel 314 Nov 17 23:40 ssh.sh* /etc/rc.d: total 0 lrwxr-xr-x 1 root wheel 17 Sep 25 02:44 90news.sh@ -> ../init.d/news.sh lrwxr-xr-x 1 root wheel 16 Sep 25 02:44 91ssh.sh@ -> ../init.d/ssh.sh PS: I know, it sounds like SYSV. So what ? :-) It is more flexible than editing /etc/rc.local and you can say: /etc/init.d/ssh.sh stop ... edit some parameter files... /etc/init.d/ssh.sh start -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #1: Sun Jan 14 20:23:45 MET 1996
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601270207.DAA24074>