mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
base/dracut-lib.sh: make use of DRACUT_SYSTEMD
This commit is contained in:
parent
126732bcc1
commit
7dd7ff0f33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user