diff options
author | jim-p <jimp@pfsense.org> | 2014-12-10 11:35:42 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-12-10 11:36:26 -0500 |
commit | 6346f188e1c48de0457c9b39b0a1807b04355969 (patch) | |
tree | 993fecc5c0342a96d8efb4ab5e672d1156fabc79 /etc/rc.dumpon | |
parent | b3986dd15d8f66ffeca29f82a67dc83f3933a4f9 (diff) | |
download | pfsense-6346f188e1c48de0457c9b39b0a1807b04355969.zip pfsense-6346f188e1c48de0457c9b39b0a1807b04355969.tar.gz |
Setup ddb on all platforms. On full install it will save the dump, on NanoBSD it will print to console and auto-reboot.
This way, a router running NanoBSD won't sit at a db> prompt indefinitely if it crashes.
Diffstat (limited to 'etc/rc.dumpon')
-rwxr-xr-x | etc/rc.dumpon | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/rc.dumpon b/etc/rc.dumpon index fad1a82..1ad40bb 100755 --- a/etc/rc.dumpon +++ b/etc/rc.dumpon @@ -27,9 +27,4 @@ done </etc/fstab if [ "${works}" != "true" ]; then echo "No suitable dump device was found." 1>&2 exit -fi - -# ddb -if [ ! -z "`sysctl -Nq debug.ddb.scripting.scripts`" ]; then - /sbin/ddb /etc/ddb.conf -fi +fi
\ No newline at end of file |