Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

write PARTITION to CONFIGTMP
authorMichael Prokop <mika@grml.org>
Tue Feb 13 19:40:12 2007 +0100 (21 months ago)
changeset 68ce3570af71ee
manifestce3570af71ee
parent 6792ccd3ccdbc5
child 6916cd53318973
write PARTITION to CONFIGTMP
grml2hd
--- a/grml2hd Tue Feb 13 19:30:28 2007 +0100
+++ b/grml2hd Tue Feb 13 19:40:12 2007 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Andreas Gredler <jimmy@grml.org>, Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Die Feb 13 15:35:16 CET 2007 [mika]
+# Latest change: Die Feb 13 19:40:02 CET 2007 [mika]
################################################################################
LANG='C'
@@ -55,8 +55,8 @@ UNAME=$(uname -r)
UNAME=$(uname -r)
UNAME_SHORT=$(echo $UNAME | sed 's/-small//')
ARGUMENTS="$*"
-[ -z "$PARTITION" ] && PARTITION=$1
-[ -z "$BOOT_PARTITION" ] && BOOT_PARTITION=$PARTITION
+[ -z "$PARTITION" ] && PARTITION="$1"
+[ -z "$BOOT_PARTITION" ] && BOOT_PARTITION="$PARTITION"
SOURCE=/
TARGET='/mnt/grml'
SPACE_REQUIRED_MB=2700
@@ -240,6 +240,7 @@ Please make sure you have an existing pa
bailout 6
fi
fi
+ echo "PARTITION=$PARTITION" >> $CONFIGTMP
}
check4partition() {