Date: Sat, 24 Jul 2004 14:56:21 +0000 (UTC) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src UPDATING src/etc/rc.d localpkg src/sys/sys param.h Message-ID: <200407241456.i6OEuLjs094044@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2004-07-24 14:56:21 UTC FreeBSD src repository Modified files: . UPDATING etc/rc.d localpkg sys/sys param.h Log: Ports related rc.d cleanups: o Separate out local (ports) scripts that use rc.d, and the old style startup/shutdown scripts and execute them separately. On startup the rc.d style scripts are executed first and then the old-style scripts. On shutdown, exactly the reverse happens. o The rc.d ports scripts should now behave more like base system scripts. Scripts ending in .sh will be sourced into the current shell, while the rest will be executed in a subshell. Previously, all ports scripts, regardless of the .sh suffix, were executed in a subshell. o The parent script, /etc/rc.d/localpkg, passes its command line arguments straight to the rc.d ports scripts. This means they should now honor faststop and faststart commands as well. Old style scripts, should not see any differences. They will still get either a start or stop command. o The initial phrase shown during shutdown has been changed to use "local packages" instead of "daemon processes" to be more inline with the phrase used during local package startup. The phrases are also used only for old-style ports script startup/shutdown, whereas previously they were being used for both rc.d and old-style scripts. This should make startup/shutdown output a bit less ugly. Discussed with: portmgr Has Reservations: eik Revision Changes Path 1.328 +13 -0 src/UPDATING 1.2 +134 -21 src/etc/rc.d/localpkg 1.204 +1 -1 src/sys/sys/param.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407241456.i6OEuLjs094044>