diff --git a/PCBSD/pc-sysinstall/backend-query/test-live.sh b/PCBSD/pc-sysinstall/backend-query/test-live.sh index 67ec7a554d..539f7740a9 100755 --- a/PCBSD/pc-sysinstall/backend-query/test-live.sh +++ b/PCBSD/pc-sysinstall/backend-query/test-live.sh @@ -2,7 +2,7 @@ # Script which checks if we are running from install media, or real system ############################################################################# -dmesg | grep "md0: Preloaded image" >/dev/null 2>/dev/null +mount | grep "/dev/iso9660/pfSense" >/dev/null 2>/dev/null if [ "$?" = "0" ] then echo "INSTALL-MEDIA" diff --git a/PCBSD/pc-sysinstall/backend/functions-cleanup.sh b/PCBSD/pc-sysinstall/backend/functions-cleanup.sh index 2c7ffd0234..16e0bd844d 100644 --- a/PCBSD/pc-sysinstall/backend/functions-cleanup.sh +++ b/PCBSD/pc-sysinstall/backend/functions-cleanup.sh @@ -77,7 +77,7 @@ zfs_cleanup_unmount() rc_halt "zfs unmount ${ZPOOLNAME}${ZMNT}" sleep 2 fi - done + done fi done diff --git a/PCBSD/pc-sysinstall/changes.txt b/PCBSD/pc-sysinstall/changes.txt new file mode 100644 index 0000000000..031bac82cf --- /dev/null +++ b/PCBSD/pc-sysinstall/changes.txt @@ -0,0 +1,3 @@ +PCBSD -> pfSense changes + +# Modified test-live to use mount | grep "/dev/iso9660/pfSense" >/dev/null 2>/dev/null