From owner-freebsd-hackers Fri Sep 22 07:18:43 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA04705 for hackers-outgoing; Fri, 22 Sep 1995 07:18:43 -0700 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id HAA04697 for ; Fri, 22 Sep 1995 07:18:36 -0700 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA20613 (5.67a/IDA-1.5 for hackers@freebsd.org); Fri, 22 Sep 1995 09:02:46 -0500 Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id IAA20833 for hackers@freebsd.org; Fri, 22 Sep 1995 08:55:52 -0500 Date: Fri, 22 Sep 1995 08:55:52 -0500 From: peter@taronga.com (Peter da Silva) Message-Id: <199509221355.IAA20833@bonkers.taronga.com> To: hackers@freebsd.org Subject: Re: ports startup scripts References: <199509211228.IAA23028@healer.com> <199509221101.RAA24680@hq.icb.chel.su> Sender: owner-hackers@freebsd.org Precedence: bulk In article <199509221101.RAA24680@hq.icb.chel.su>, Serge A. Babkin wrote: >Or make 'start' and 'stop' scripts really different files without any links. Please, no. Link 'em or symlink 'em. Digital Unix screwed up by putting them in /sbin, but they did this right: /sbin/init.d all scripts /sbin/rc*.d symlinks to init.d/... That gives you one place for finding all the service start/stop stuff (init.d), and you don't go editing rc3.d/S00frog and forget to update rc2.d/K85frog. The init.d directory becomes the one stop shop like /etc/rc[.local], and the rc*.d becomes your toggles like the YES/NO stuff in /etc/sysconfig, and it becomes easier to productise ports and packages that need to start up daemons.