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:
500861c
)
base/dracut-lib.sh: reset /etc/profile
author
Harald Hoyer
<harald@redhat.com>
Wed, 6 Mar 2013 16:10:15 +0000
(17:10 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 6 Mar 2013 16:29:12 +0000
(17:29 +0100)
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
93283b5
..
d2c803a
100755
(executable)
--- a/
modules.d/99base/dracut-lib.sh
+++ b/
modules.d/99base/dracut-lib.sh
@@
-908,6
+908,7
@@
_emergency_shell()
> /.console_lock
echo "PS1=\"$_name:\${PWD}# \"" >/etc/profile
systemctl start dracut-emergency.service
+ rm -f /etc/profile
rm -f /.console_lock
else
debug_off