diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-26 15:16:04 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-26 15:16:04 -0400 |
commit | 99760ae608f85359c4e18ce41189525f78ee2d05 (patch) | |
tree | 859a86639f9277737fce23b451ce34e784ba770b | |
parent | cfa379bdabc8ffe84ed629f3b1e0e37c5b28947e (diff) | |
download | pfsense-99760ae608f85359c4e18ce41189525f78ee2d05.zip pfsense-99760ae608f85359c4e18ce41189525f78ee2d05.tar.gz |
Out image to the slice and not a
-rwxr-xr-x | etc/rc.firmware | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index d0965fa..69d95d3 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -180,11 +180,11 @@ pfSenseNanoBSDupgrade) BOOT_DRIVE=`/sbin/glabel list | /usr/bin/grep -B2 ufs/pfsense1 | /usr/bin/head -n 1 | /usr/bin/cut -f3 -d' ' | /usr/bin/cut -d's' -f1` # test the slice. if we are on slice 1 we need to flash 2 and vica versa if [ `echo $REAL_BOOT_DEVICE | /usr/bin/grep "s1"` ]; then - TOFLASH="${BOOT_DRIVE}s2a" SLICE="2" + TOFLASH="${BOOT_DRIVE}s${SLICE}" else - TOFLASH="${BOOT_DRIVE}s1a" SLICE="1" + TOFLASH="${BOOT_DRIVE}s${SLICE}" fi # Remove TOFLASH and get ready for new flash image |