From 98546a74bb4865e282e5967f84b38424a9bcdfb0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 18 Jun 2005 05:40:54 +0000 Subject: [PATCH] * Do not mkdir savecore on cdrom platform * Do not run savecore on cdrom platform --- etc/rc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index 076f0dc30a..50f8f50bb0 100755 --- a/etc/rc +++ b/etc/rc @@ -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