summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-05 14:21:04 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-05 14:21:04 -0400
commitdfb5933ae540b0477639e8f80d74a7541d314ace (patch)
tree69bf56775f56412b90f6a3b97e8b2aaa402a3a4a /etc/rc.firmware
parentf22c94e0900b3a6245565040da92e57e58907042 (diff)
downloadpfsense-dfb5933ae540b0477639e8f80d74a7541d314ace.zip
pfsense-dfb5933ae540b0477639e8f80d74a7541d314ace.tar.gz
Remove debugflags and boot0cfg. NanoBSD does not use either of these when upgrading.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware24
1 files changed, 12 insertions, 12 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 832a3cf..b66bd64 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -216,10 +216,10 @@ pfSenseNanoBSDupgrade)
echo "NanoBSD upgrade starting" >> /conf/upgrade_log.txt
echo "" >> /conf/upgrade_log.txt
- # Foot shooting is fun!
- 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
+ # 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
@@ -304,10 +304,10 @@ pfSenseNanoBSDupgrade)
echo "gpart set -a active -i ${SLICE} ${BOOT_DRIVE}" >> /conf/upgrade_log.txt
gpart set -a active -i ${SLICE} ${BOOT_DRIVE}
- # Set active boot source
- 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
+ # Set active boot source - this might be too much. nanobsd does not need this.
+ #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
# Grab a final look at fdisk
echo "" >> /conf/upgrade_log.txt
@@ -335,10 +335,10 @@ pfSenseNanoBSDupgrade)
# Trigger a package reinstallation on reobot
touch /conf/needs_package_sync
- # Enough fun for now.
- 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
+ # 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
OpenPOWER on IntegriCloud