projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
126732b
)
base/dracut-lib.sh: make use of DRACUT_SYSTEMD
author
Harald Hoyer
<harald@redhat.com>
Wed, 1 Aug 2012 12:36:38 +0000
(14:36 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 1 Aug 2012 12:36:38 +0000
(14:36 +0200)
modules.d/99base/dracut-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/dracut-lib.sh
b/modules.d/99base/dracut-lib.sh
index
a4a36e4
..
381b4dd
100755
(executable)
--- 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