X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-live;h=b8198507b872a152e3406ef1c4cae690e66d2be6;hb=fd6a7976ac53f6e23bb865f483a986f2e4d64f70;hp=a1939cdabd4dda2aa8ad4563c3f7f0d97988af32;hpb=5ab077534a0696b3fd07af7535db4a58b0df4efd;p=grml-live.git diff --git a/grml-live b/grml-live index a1939cd..b819850 100755 --- a/grml-live +++ b/grml-live @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Thu Oct 18 00:18:07 CEST 2007 [mika] +# Latest change: Thu Oct 18 00:42:13 CEST 2007 [mika] ################################################################################ # read configuration files, set some misc variables {{{ @@ -69,8 +69,11 @@ trap bailout 1 2 3 15 [ -n "$RELEASENAME" ] || RELEASENAME="grml-live rocks" [ -n "$GRML_NAME" ] || GRML_NAME='grml' -[ -n "$LOGDIR" ] || LOGDIR="/var/log/" -LOGFILE="$LOGDIR/grml-live.log" +if mkdir -p /var/log/fai/dirinstall/${HOSTNAME} ; then + LOGFILE=/var/log/fai/dirinstall/${HOSTNAME}/grml-live.log +else + LOGFILE="$LOGDIR/grml-live.log" +fi NFSROOT_CONF=/etc/grml/fai/make-fai-nfsroot.conf