diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-22 23:02:10 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-22 23:02:10 -0400 |
commit | 26e50f43459d09e319b90ccbb675f0a3bdbfe4be (patch) | |
tree | af675d320de637a5f5e20fc0b45c2c23271f844b /PCBSD | |
parent | ff161129ab87735eccc2ffba61db977ff4d4cd8c (diff) | |
download | pfsense-26e50f43459d09e319b90ccbb675f0a3bdbfe4be.zip pfsense-26e50f43459d09e319b90ccbb675f0a3bdbfe4be.tar.gz |
Adding changes file describing changes made so that installer works with pfSense in hopes of getting changes made upstream to accomidate both. Change test-live.sh to detect /dev/iso9660/pfSense
Diffstat (limited to 'PCBSD')
-rwxr-xr-x | PCBSD/pc-sysinstall/backend-query/test-live.sh | 2 | ||||
-rw-r--r-- | PCBSD/pc-sysinstall/backend/functions-cleanup.sh | 2 | ||||
-rw-r--r-- | PCBSD/pc-sysinstall/changes.txt | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/PCBSD/pc-sysinstall/backend-query/test-live.sh b/PCBSD/pc-sysinstall/backend-query/test-live.sh index 67ec7a5..539f774 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 2c7ffd0..16e0bd8 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 0000000..031bac8 --- /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 |