X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=2c7abcf64174f9eb50fd82587ba0a6d8d243c1bf;hp=93478730493e5c1cc5a4db2fe4ba99f3bfe82896;hb=1d528c07e34d2c4db7de113a71a19327d4404ee9;hpb=e52b8afc3e7846173b5585724d4984c024d16223 diff --git a/grml-live b/grml-live index 9347873..2c7abcf 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: Sat Sep 29 10:44:26 CEST 2007 [mika] +# Latest change: Thu Oct 04 22:16:28 CEST 2007 [mika] ################################################################################ # read configuration files, set some misc variables {{{ @@ -21,6 +21,12 @@ if [ "$(id -u 2>/dev/null)" != 0 ] ; then exit 1 fi +if [ -r /var/run/fai/FAI_INSTALLATION_IN_PROGRESS ] ; then + echo "/usr/sbin/fai already running or was aborted before."&>2 + echo "You may remove /var/run/fai/FAI_INSTALLATION_IN_PROGRESS and try again.">&2 + exit 1 +fi + # make sure they are not set by default VERBOSE='' FORCE=''