summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-05 18:48:24 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-05 18:48:24 -0400
commite213b6fc50d8bdcc34eaed732a2d64dbda376e61 (patch)
treecf66c107a79327516eef53908f48855048932441 /etc/rc.firmware
parent80d5c3f66d13baf0904323550434d8c65165671b (diff)
downloadpfsense-e213b6fc50d8bdcc34eaed732a2d64dbda376e61.zip
pfsense-e213b6fc50d8bdcc34eaed732a2d64dbda376e61.tar.gz
Remove foot shooting code that was commented out. It is not necessary for this. Enhance a comment about why we need boot0cfg
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware13
1 files changed, 2 insertions, 11 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 0926fa9..ba6ea7e 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -215,11 +215,6 @@ pfSenseNanoBSDupgrade)
echo "" >> /conf/upgrade_log.txt
echo "NanoBSD upgrade starting" >> /conf/upgrade_log.txt
echo "" >> /conf/upgrade_log.txt
-
- # Foot shooting is fun! - this might be too much. nanobsd does not need this.
- #echo "" >> /conf/upgrade_log.txt
- #echo "/sbin/sysctl kern.geom.debugflags=16" >> /conf/upgrade_log.txt
- #/sbin/sysctl kern.geom.debugflags=16 >> /conf/upgrade_log.txt 2>&1
# Remove TOFLASH and get ready for new flash image
echo "" >> /conf/upgrade_log.txt
@@ -308,7 +303,8 @@ pfSenseNanoBSDupgrade)
sync
- # Set active boot source - this might be too much. nanobsd does not need this.
+ # Set active boot source - NanoBSD does not do this but otherwise we
+ # end up with the wrong partition being active.
echo "" >> /conf/upgrade_log.txt
echo "/usr/sbin/boot0cfg -s ${SLICE} -v /dev/${BOOT_DRIVE}" >> /conf/upgrade_log.txt
/usr/sbin/boot0cfg -s ${SLICE} -v /dev/${BOOT_DRIVE} >> /conf/upgrade_log.txt 2>&1
@@ -339,11 +335,6 @@ pfSenseNanoBSDupgrade)
# Trigger a package reinstallation on reobot
touch /conf/needs_package_sync
- # Enough fun for now. - this might be too much. nanobsd does not need this.
- #echo "" >> /conf/upgrade_log.txt
- #echo "/sbin/sysctl kern.geom.debugflags=0" >> /conf/upgrade_log.txt
- #/sbin/sysctl kern.geom.debugflags=0 >> /conf/upgrade_log.txt 2>&1
-
# remount /cf ro
/etc/rc.conf_mount_ro
/bin/sync
OpenPOWER on IntegriCloud