summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-25 21:52:25 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-25 21:52:25 -0400
commit453a59ca8f8c80100303eeb45ebdf9cb9c8b92ce (patch)
treed83162caef18d925423c5c4b04207ca78ec0765d /etc/rc.firmware
parentb220cc48191a82ddb3d68a47d42085677da0be26 (diff)
downloadpfsense-453a59ca8f8c80100303eeb45ebdf9cb9c8b92ce.zip
pfsense-453a59ca8f8c80100303eeb45ebdf9cb9c8b92ce.tar.gz
rename root0 and root1 pfsense0 and pfsense1
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 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
OpenPOWER on IntegriCloud