summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/tpl/installer.tpl.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/installer/tpl/installer.tpl.sh b/installer/tpl/installer.tpl.sh
index 0e5c83b..15ef6ce 100755
--- a/installer/tpl/installer.tpl.sh
+++ b/installer/tpl/installer.tpl.sh
@@ -179,7 +179,6 @@ fi
mkdir -p /media/openslx-stick /media/openslx-stick-usrhome
-sync
if [ "x$NO_USRHOME" != "xtrue" ]; then
mount /dev/${OUT_DEV}2 /media/openslx-stick
@@ -190,9 +189,9 @@ fi
mkdir -p /media/openslx-stick/boot
-cp -v $TMP_DIR/boot/* /media/openslx-stick/boot/ $DEBUG_OUT
+cp -v $TMP_DIR/boot/* /media/openslx-stick/boot/
-umount /media/openslx-stick $DEBUG_OUT
+umount /media/openslx-stick
umount /media/openslx-stick-usrhome $DEBUG_OUT
rm -rf /media/openslx-stick* $DEBUG_OUT