summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/localpkg
Commit message (Collapse)AuthorAgeFilesLines
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-161-0/+0
|
* s/daemon processes/local packages/ for consisitency.mtm2008-06-231-1/+1
|
* Don't say we're going to [start|stop] local packages unless there actuallymtm2008-06-221-4/+16
| | | | are local (pre rc.d) scripts to run.
* Make localpkg print local scripts names when the boot is verbosematteo2006-02-121-0/+3
| | | | | | PR: conf/68525 Approved by: philip (mentor) MFC after: 3 days
* Introduce startup scripts from the local_startup directories todougb2005-12-021-32/+5
| | | | | | | | | | | | | | | | the base rcorder. This is accomplished by running rcorder twice, first to get all the disks mounted (through mountcritremote), then again to include the local_startup directories. This dramatically changes the behavior of rc.d/localpkg, as all "local" scripts that have the new rc.d semantics are now run in the base rcorder, so only scripts that have not been converted yet will run in rc.d/localpkg. Make a similar change in rc.shutdown, and add some functions in rc.subr to support these changes. Bump __FreeBSD_version to reflect this change.
* Don't print anything if we can't do any localpkg shutdown (start alreadybrooks2005-09-271-2/+1
| | | | | | | does this). Submitted by: Andre Albsmeier <Andre dot Albsmeier at siemens dot com> PR: conf/86606
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+1
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* back out the localkg changes until things have settled.eik2004-07-281-134/+21
| | | | Discussed with: mtm
* Even though binaries will give 0 matches, make it explicit.mtm2004-07-271-1/+1
|
* Ports related rc.d cleanups:mtm2004-07-241-21/+134
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename localdaemons to localpkg.mtm2003-08-061-0/+90
The original name was really a mistake since /usr/local/etc/rc.d scripts can (and usually do) start more than just daemons. Even the output in the script uses 'local packages.' Also, the term 'local daemons' is used by rc.d/local, which was etc/rc.local of rcOG fame. No repo-copy because there isn't much history to save. I will remove localdaemons shortly with all the other files that don't belong in rc.d anymore. Discussed with: dougb, freebsd-rc@yahoogroups.com
OpenPOWER on IntegriCloud