15-initsetup: improve check for empty GRML_NAME variable to make it compatible with...
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 15-initsetup
index 381c988..72483ea 100755 (executable)
@@ -9,7 +9,7 @@
 set -u
 set -e
 
-[ -z "$GRML_NAME" ] && GRML_NAME=grml
+GRML_NAME="${GRML_NAME:-grml}"
 
 if ! [ -r $target/etc/runlevel.conf ] ; then
    echo 'Warning: /etc/runlevel.conf does not exist...'