Commit c5b1ddef authored by Franco Fichtner's avatar Franco Fichtner

ddb: /etc/ddb.conf is perfectly fine, always use it

parent 9079f06d
/boot/brand-opnsense.4th
/boot/logo-hourglass.4th
/usr/local/etc/ddb.conf
/usr/local/etc/devd/carp.conf
/usr/local/etc/devd/ifnet.conf
/usr/local/etc/dh-parameters.1024
......
script lockinfo=show locks; show alllocks; show lockedvnods
script kdb.enter.default=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
script kdb.enter.witness=run lockinfo
......@@ -7,9 +7,7 @@ while read DEV MP TYPE MORE; do
[ -c "${DEV}" ] || continue
if dumpon ${DEV}; then
echo ${DEV}
if [ -n "`sysctl -Nq debug.ddb.scripting.scripts`" ]; then
ddb /usr/local/etc/ddb.conf
fi
ddb /etc/ddb.conf
if savecore -C ${DEV} > /dev/null; then
savecore /var/crash ${DEV}
fi
......@@ -18,3 +16,4 @@ while read DEV MP TYPE MORE; do
done < /etc/fstab
echo "/dev/null"
ddb /etc/ddb.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment