Commit 286bbf65 authored by Franco Fichtner's avatar Franco Fichtner

rc: switch crash dump back to default

parent 951ea35c
#!/bin/sh
sed -e 's/kdb.enter.panic=/kdb.enter.default=/' \
/etc/ddb.conf > /tmp/ddb.conf
echo -n "Configuring crash dump device: "
while read DEV MP TYPE MORE; do
......@@ -7,7 +10,7 @@ while read DEV MP TYPE MORE; do
[ -c "${DEV}" ] || continue
if dumpon ${DEV}; then
echo ${DEV}
ddb /etc/ddb.conf
ddb /tmp/ddb.conf
if savecore -C ${DEV} > /dev/null; then
savecore /var/crash ${DEV}
fi
......@@ -16,4 +19,4 @@ while read DEV MP TYPE MORE; do
done < /etc/fstab
echo "/dev/null"
ddb /etc/ddb.conf
ddb /tmp/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