From f1ef3a90524e751fc3903e71c1c8ec12e238ec87 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 28 Jul 2015 15:07:52 +0200 Subject: [PATCH 008/325] etc/rc.d/dumpon: Get dumpdev=AUTO working for GEOM_ELI consumers Obtained from: ElectroBSD --- libexec/rc/rc.d/dumpon | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/rc/rc.d/dumpon b/libexec/rc/rc.d/dumpon index dddbf2af01cc..f3047b50dc03 100755 --- a/libexec/rc/rc.d/dumpon +++ b/libexec/rc/rc.d/dumpon @@ -49,6 +49,7 @@ dumpon_start() fi while read dev mp type more ; do [ "${type}" = "swap" ] || continue + dev="${dev%%.eli}" [ -c "${dev}" ] || continue dumpon_try "${dev}" 2>/dev/null && return 0 done