projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79e718c
)
15-initsetup: improve check for empty GRML_NAME variable to make it compatible with...
author
Michael Prokop
<mika@grml.org>
Fri, 9 Jul 2010 12:32:55 +0000
(14:32 +0200)
committer
Michael Prokop
<mika@grml.org>
Fri, 9 Jul 2010 12:32:55 +0000
(14:32 +0200)
Signed-off-by: Michael Prokop <mika@grml.org>
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
b/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
index
381c988
..
72483ea
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
@@
-9,7
+9,7
@@
set -u
set -e
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...'
if ! [ -r $target/etc/runlevel.conf ] ; then
echo 'Warning: /etc/runlevel.conf does not exist...'