diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 14:21:04 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 14:21:04 -0400 |
commit | dfb5933ae540b0477639e8f80d74a7541d314ace (patch) | |
tree | 69bf56775f56412b90f6a3b97e8b2aaa402a3a4a /etc/rc.firmware | |
parent | f22c94e0900b3a6245565040da92e57e58907042 (diff) | |
download | pfsense-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-x | etc/rc.firmware | 24 |
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 |