Page MenuHomeFreeBSD

D38751.diff
No OneTemporary

D38751.diff

diff --git a/libexec/rc/rc.d/growfs_fstab b/libexec/rc/rc.d/growfs_fstab
--- a/libexec/rc/rc.d/growfs_fstab
+++ b/libexec/rc/rc.d/growfs_fstab
@@ -51,14 +51,9 @@
' < /etc/fstab
then
printf "/dev/label/growfs_swap\tnone\t\tswap\tsw\t\t0\t0\n" >>/etc/fstab
-
- case "$dumpdev" in
- [Aa][Uu][Tt][Oo])
- dumpon $dumpon_flags /dev/label/growfs_swap
- ;;
- *)
- ;;
- esac
+ printf '# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable\n' >>/etc/rc.conf
+ printf 'dumpdev="AUTO"\n' >>/etc/rc.conf
+ dumpon $dumpon_flags /dev/label/growfs_swap
fi
fi
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 1:26 PM (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14739304
Default Alt Text
D38751.diff (598 B)

Event Timeline