mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Do not mkdir savecore on cdrom platform
* Do not run savecore on cdrom platform
This commit is contained in:
parent
a816bacf8b
commit
98546a74bb
6
etc/rc
6
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user