diff options
Diffstat (limited to 'usr/local/www/diag_nanobsd.php')
-rwxr-xr-x | usr/local/www/diag_nanobsd.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_nanobsd.php b/usr/local/www/diag_nanobsd.php index 3b311bb..0e2f4b1 100755 --- a/usr/local/www/diag_nanobsd.php +++ b/usr/local/www/diag_nanobsd.php @@ -110,7 +110,7 @@ EOF; exec("/sbin/fsck_ufs -y /dev/{$ACOMPLETE_PATH}"); exec("/sbin/mount /dev/ufs/{$AGLABEL_SLICE} /tmp/{$AGLABEL_SLICE}"); exec("/bin/cp /etc/fstab /tmp/{$AGLABEL_SLICE}/etc/fstab"); - $status = exec("sed -i \"\" \"s/pfsense{$AOLD_UFS_ID}/pfsense{$AUFS_ID}/g\" /tmp/{$AGLABEL_SLICE}/etc/fstab"); + $status = exec("sed -i \"\" \"s/pfsense{$OLD_UFS_ID}/pfsense{$UFS_ID}/g\" /tmp/{$AGLABEL_SLICE}/etc/fstab"); if($status) { file_notice("UpgradeFailure","Something went wrong when trying to update the fstab entry. Aborting upgrade."); exec("/sbin/umount /tmp/{$AGLABEL_SLICE}"); |