diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 05:40:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 05:40:54 +0000 |
commit | 98546a74bb4865e282e5967f84b38424a9bcdfb0 (patch) | |
tree | 3a327243d08850cd32da5f3ab77b5c1bc7ec100a /etc/rc | |
parent | a816bacf8b8b2b59b4ede56fbf06ca84af954006 (diff) | |
download | pfsense-98546a74bb4865e282e5967f84b38424a9bcdfb0.zip pfsense-98546a74bb4865e282e5967f84b38424a9bcdfb0.tar.gz |
* Do not mkdir savecore on cdrom platform
* Do not run savecore on cdrom platform
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |