* Do not mkdir savecore on cdrom platform

* Do not run savecore on cdrom platform
This commit is contained in:
Scott Ullrich 2005-06-18 05:40:54 +00:00
parent a816bacf8b
commit 98546a74bb

6
etc/rc
View File

@ -44,8 +44,10 @@ fi
/sbin/conscontrol mute off
/bin/mkdir -p /usr/savecore 2>/dev/null
/sbin/savecore /usr/savecore $SWAPDEVICE
if [ ! "$PLATFORM" = "cdrom" ]; then
/bin/mkdir -p /usr/savecore 2>/dev/null
/sbin/savecore /usr/savecore $SWAPDEVICE
fi
# Repair symlinks if they are broken
if [ ! -L /etc/hosts ]; then