diff --git a/etc/rc.rescue b/etc/rc.rescue index 4f33182ac..818d62b11 100644 --- a/etc/rc.rescue +++ b/etc/rc.rescue @@ -9,7 +9,6 @@ fi service up $DRIVERS/rescue -dev /dev/rescue -args 128 -period 4HZ mkfs /dev/rescue || exit mount /dev/rescue $RESCUE || exit -cp /usr/sbin/memory $RESCUE label=`sysenv label` case "$label" in AT) diff --git a/etc/usr/rc b/etc/usr/rc index 7c4cfdd39..26fd9c9d3 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -165,3 +165,21 @@ stop|down) fi fi esac + +d=/usr/local/etc/rc.d +# Let packages run their own scripts +if [ -d "$d" ] +then if cd $d + then + echo -n "Local package initialization: " + for f in * + do + if [ -x "$f" ] + then echo -n "$f " + sh "$f" "$action" + fi + done + echo " done." + fi +fi +