diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-25 21:52:25 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-25 21:52:25 -0400 |
commit | 453a59ca8f8c80100303eeb45ebdf9cb9c8b92ce (patch) | |
tree | d83162caef18d925423c5c4b04207ca78ec0765d /etc/rc.firmware | |
parent | b220cc48191a82ddb3d68a47d42085677da0be26 (diff) | |
download | pfsense-453a59ca8f8c80100303eeb45ebdf9cb9c8b92ce.zip pfsense-453a59ca8f8c80100303eeb45ebdf9cb9c8b92ce.tar.gz |
rename root0 and root1 pfsense0 and pfsense1
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 2123dd7..e1cad34 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -185,10 +185,10 @@ pfSenseNanoBSDupgrade) echo "Installing $IMG." | logger -p daemon.info -i -t Upgrade BOOT_DEVICE=`/sbin/mount | /usr/bin/grep root | /usr/bin/cut -d'/' -f4 | /usr/bin/cut -d' ' -f1` - if [ "$BOOT_DEVICE" = "root0" ]; then - TOFLASH="root1" + if [ "$BOOT_DEVICE" = "pfsense0" ]; then + TOFLASH="pfsense1" else - TOFLASH="root0" + TOFLASH="pfsense0" fi # Remove TOFLASH and get ready for new flash image |