diff options
Diffstat (limited to 'usr.sbin/pc-sysinstall/backend/functions-newfs.sh')
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend/functions-newfs.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-newfs.sh b/usr.sbin/pc-sysinstall/backend/functions-newfs.sh index 5ac9ebe..1c2b023 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-newfs.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-newfs.sh @@ -100,6 +100,7 @@ setup_filesystems() PARTLABEL="`cat ${PARTDIR}/${PART} | cut -d ':' -f 4`" PARTGEOM="`cat ${PARTDIR}/${PART} | cut -d ':' -f 5`" PARTXTRAOPTS="`cat ${PARTDIR}/${PART} | cut -d ':' -f 6`" + PARTIMAGE="`cat ${PARTDIR}/${PART} | cut -d ':' -f 7`" # Make sure journaling isn't enabled on this device if [ -e "/dev/${PART}.journal" ] @@ -204,6 +205,11 @@ setup_filesystems() sleep 2 ;; + IMAGE) + write_image "${PARTIMAGE}" "${PART}" + sleep 2 + ;; + *) exit_err "ERROR: Got unknown file-system type $PARTFS" ;; esac |