diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-10-24 02:57:34 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-10-24 02:57:34 +0000 |
commit | 7cd3798ec6213c45692a7d86391a9b5c967cda08 (patch) | |
tree | f5b6dbadefe0e0ae8505571f5068e05e056cb935 /liveinst | |
parent | 1b7c7b543c54c2030497760ef8c002c12e7f9d09 (diff) | |
download | anaconda-7cd3798ec6213c45692a7d86391a9b5c967cda08.tar.gz anaconda-7cd3798ec6213c45692a7d86391a9b5c967cda08.tar.xz anaconda-7cd3798ec6213c45692a7d86391a9b5c967cda08.zip |
2007-10-23 Jeremy Katz <katzj@redhat.com>
* liveinst/liveinst.sh (ANACONDA): Only use hal-lock if hal is running
* anaconda (Anaconda): Fix for runinst with live images
Diffstat (limited to 'liveinst')
-rw-r--r-- | liveinst/liveinst.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh index d4f5a7f1d..609654138 100644 --- a/liveinst/liveinst.sh +++ b/liveinst/liveinst.sh @@ -37,7 +37,7 @@ if [ -x /usr/sbin/setenforce -a -e /selinux/enforce ]; then /usr/sbin/setenforce 0 fi -if [ -x /usr/bin/hal-lock ]; then +if [ -x /usr/bin/hal-lock -a -e /var/run/subsys/haldaemon ]; then /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA" else $ANACONDA |