History log of /freebsd-9.3-release/etc/rc.d/localpkg
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 180563 16-Jul-2008 dougb

As previously discussed, add the svn:executable property to all scripts


# 179939 23-Jun-2008 mtm

s/daemon processes/local packages/ for consisitency.


# 179927 22-Jun-2008 mtm

Don't say we're going to [start|stop] local packages unless there actually
are local (pre rc.d) scripts to run.


# 155566 12-Feb-2006 matteo

Make localpkg print local scripts names when the boot is verbose

PR: conf/68525
Approved by: philip (mentor)
MFC after: 3 days


# 153027 02-Dec-2005 dougb

Introduce startup scripts from the local_startup directories to
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.


# 150603 27-Sep-2005 brooks

Don't print anything if we can't do any localpkg shutdown (start already
does this).

Submitted by: Andre Albsmeier <Andre dot Albsmeier at siemens dot com>
PR: conf/86606


# 136224 07-Oct-2004 mtm

Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days


# 132716 27-Jul-2004 eik

back out the localkg changes until things have settled.

Discussed with: mtm


# 132701 27-Jul-2004 mtm

Even though binaries will give 0 matches, make it explicit.


# 132597 24-Jul-2004 mtm

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


# 118515 05-Aug-2003 mtm

Rename localdaemons to localpkg.
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