summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-27 00:46:54 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-27 00:46:54 -0400
commit903f12d479a8c788801a928671e6b06786c53eca (patch)
tree4c3dd7452f58b39795a429960bdc3a781362615d /etc/rc.firmware
parent9cc7a636c04b8937b7e6c9deea1e339adb9d82c9 (diff)
downloadpfsense-903f12d479a8c788801a928671e6b06786c53eca.zip
pfsense-903f12d479a8c788801a928671e6b06786c53eca.tar.gz
Turn off foot shooting when we are done.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index ac3e574..19d0d29 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -243,6 +243,11 @@ ENDOFF
/bin/sync
echo "Done." >> /cf/upgrade_log.txt 2>&1
+ # Enough fun for now.
+ echo "" >> /cf/upgrade_log.txt
+ echo "/sbin/sysctl kern.geom.debugflags=0" >> /cf/upgrade_log.txt
+ /sbin/sysctl kern.geom.debugflags=0 >> /cf/upgrade_log.txt 2>&1
+
rm -f /var/run/firmware.lock
sh /etc/rc.reboot
OpenPOWER on IntegriCloud