summaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-06-21 20:17:54 +0000
committerBill Nottingham <notting@redhat.com>2005-06-21 20:17:54 +0000
commitb0b44bd79aa0141de353058e33c101324372c6fc (patch)
tree60a8b13efb7bb49bbea4f25b814dbf39fa4aabe8 /rc.d
parent7b611457c116df85408790042ad5b190419cf43f (diff)
downloadinitscripts-b0b44bd79aa0141de353058e33c101324372c6fc.tar.gz
initscripts-b0b44bd79aa0141de353058e33c101324372c6fc.tar.xz
initscripts-b0b44bd79aa0141de353058e33c101324372c6fc.zip
add diskdump restore support (<tuchida@redhat.com>)
conflict with appropriate diskdumputils
Diffstat (limited to 'rc.d')
-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 844b3cbd..fc9397fe 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -838,6 +838,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