Don't copy memory to rescue

local package initialization
This commit is contained in:
Ben Gras 2006-02-17 16:46:08 +00:00
parent 17032f9909
commit ba667a0774
2 changed files with 18 additions and 1 deletions

View file

@ -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)

View file

@ -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