From 16921efded40ef4c7800f07157f0e52be4cf8121 Mon Sep 17 00:00:00 2001 From: Garrett Cooper Date: Mon, 14 Jan 2013 14:39:59 -0800 Subject: [PATCH] Support the pseudo fs_vfstype == "dump" noted in savecore(8) Signed-off-by: Garrett Cooper --- etc/rc.d/dumpon | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/dumpon b/etc/rc.d/dumpon index ce5fc1c..981ff84 100755 --- a/etc/rc.d/dumpon +++ b/etc/rc.d/dumpon @@ -40,7 +40,12 @@ dumpon_start() return $? fi while read dev mp type more ; do - [ "${type}" = "swap" ] || continue + case "$type" in + dump|swap) + ;; + *) + continue;; + esac [ -c "${dev}" ] || continue dumpon_try "${dev}" 2>/dev/null && return 0 done