From: Harald Hoyer Date: Wed, 1 Aug 2012 12:36:38 +0000 (+0200) Subject: base/dracut-lib.sh: make use of DRACUT_SYSTEMD X-Git-Tag: 023~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7dd7ff0f33b43a10307b32e491cb98320939e0c0;p=thirdparty%2Fdracut.git base/dracut-lib.sh: make use of DRACUT_SYSTEMD --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index a4a36e448..381b4ddc4 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -867,7 +867,7 @@ wait_for_loginit() _emergency_shell() { local _name="$1" - if [ -x /lib/systemd/systemd ]; then + if [ -n "$DRACUT_SYSTEMD" ]; then > /.console_lock echo "PS1=\"$_name:\${PWD}# \"" >/etc/profile systemctl start emergency.service