summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_nanobsd.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-05 23:51:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-05 23:51:33 -0400
commit99623bd57ab9c153fb765ee0b517df7f3d1069a6 (patch)
tree646566094c74d55f1c4dd205e8af192b0a0cc7e2 /usr/local/www/diag_nanobsd.php
parentc5eb3a1783e9d7397fff3f1417c0e3187860e6bc (diff)
downloadpfsense-99623bd57ab9c153fb765ee0b517df7f3d1069a6.zip
pfsense-99623bd57ab9c153fb765ee0b517df7f3d1069a6.tar.gz
Set boot slice correctly (reversed logic)
Diffstat (limited to 'usr/local/www/diag_nanobsd.php')
-rwxr-xr-xusr/local/www/diag_nanobsd.php2
1 files changed, 1 insertions, 1 deletions
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}";
OpenPOWER on IntegriCloud