diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-06 00:19:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-06 00:19:06 -0400 |
commit | 4ecc60ec647b38dff87a7ffb42451e853d55dd9b (patch) | |
tree | 25b790d7940596469642489bb6565580693753ed /usr/local/www | |
parent | febdce5a6c26c166e2eda33fbb38b50b26a9f51e (diff) | |
download | pfsense-4ecc60ec647b38dff87a7ffb42451e853d55dd9b.zip pfsense-4ecc60ec647b38dff87a7ffb42451e853d55dd9b.tar.gz |
Use $BOOT_DRIVE
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/diag_nanobsd.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_nanobsd.php b/usr/local/www/diag_nanobsd.php index 81865a1..b6e0954 100755 --- a/usr/local/www/diag_nanobsd.php +++ b/usr/local/www/diag_nanobsd.php @@ -107,8 +107,8 @@ EOF; $AOLD_UFS_ID="1"; $ABOOTFLASH="{$ABOOT_DRIVE}s{$AOLDSLICE}"; } - exec("gpart set -a active -i {$ASLICE} {$ABOOT_DRIVE}"); - exec("/usr/sbin/boot0cfg -s {$ASLICE} -v /dev/{$ABOOT_DRIVE}"); + exec("gpart set -a active -i {$ASLICE} {$BOOT_DRIVE}"); + exec("/usr/sbin/boot0cfg -s {$ASLICE} -v /dev/{$BOOT_DRIVE}"); exec("/bin/mkdir /tmp/{$AGLABEL_SLICE}"); exec("/sbin/fsck_ufs -y /dev/{$ACOMPLETE_PATH}"); exec("/sbin/mount /dev/ufs/{$AGLABEL_SLICE} /tmp/{$AGLABEL_SLICE}"); |