aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 543e7c4d..b4bfdaa7 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -598,6 +598,10 @@ mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1
chown root:root /tmp/.ICE-unix
[ -n "$SELINUX" ] && restorecon /tmp/.ICE-unix >/dev/null 2>&1
+if [ -x /etc/init.d/diskdump ]; then
+ /etc/init.d/diskdump swapsavecore
+fi
+
# Start up swapping.
update_boot_stage RCswap
action $"Enabling swap space: " swapon -a -e