summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-05 15:02:28 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-05 15:02:28 -0400
commitb404776012caf06acfc4f54e50651f8e19b220e1 (patch)
treeec2bb06ea3c11d90c505cc00ec8971dbf4e2d145 /etc/rc.firmware
parent7f38e9340e0207c47fee064bb0211d6185d974e5 (diff)
downloadpfsense-b404776012caf06acfc4f54e50651f8e19b220e1.zip
pfsense-b404776012caf06acfc4f54e50651f8e19b220e1.tar.gz
Set active partition with boot0cfg too
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 6917df6..890f5f4 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -309,9 +309,9 @@ pfSenseNanoBSDupgrade)
sync
# 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
+ 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
OpenPOWER on IntegriCloud