diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 23:51:33 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 23:51:33 -0400 |
commit | 99623bd57ab9c153fb765ee0b517df7f3d1069a6 (patch) | |
tree | 646566094c74d55f1c4dd205e8af192b0a0cc7e2 | |
parent | c5eb3a1783e9d7397fff3f1417c0e3187860e6bc (diff) | |
download | pfsense-99623bd57ab9c153fb765ee0b517df7f3d1069a6.zip pfsense-99623bd57ab9c153fb765ee0b517df7f3d1069a6.tar.gz |
Set boot slice correctly (reversed logic)
-rwxr-xr-x | etc/rc.firmware | 1 | ||||
-rwxr-xr-x | usr/local/www/diag_nanobsd.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 49b720e..0ff0fa3 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -156,7 +156,6 @@ pfSenseNanoBSDupgrade) /bin/mkdir -p /tmp/configbak cp -p /conf/* /tmp/configbak 2>/dev/null - touch /conf/upgrade_log.txt echo "" >> /conf/upgrade_log.txt echo "Installing $IMG." >> /conf/upgrade_log.txt 2>&1 diff --git a/usr/local/www/diag_nanobsd.php b/usr/local/www/diag_nanobsd.php index 9e282e7..c453b89 100755 --- a/usr/local/www/diag_nanobsd.php +++ b/usr/local/www/diag_nanobsd.php @@ -87,7 +87,7 @@ if($_POST['bootslice']) { EOF; for ($i = 0; $i < ob_get_level(); $i++) { ob_end_flush(); } ob_implicit_flush(1); - if(strstr($_POST['bootslice'], "s1")) { + if(strstr($_POST['bootslice'], "s2")) { $ASLICE="2"; $AOLDSLICE="1"; $ATOFLASH="{$BOOT_DRIVE}s{$SLICE}"; |