From: Harald Hoyer Date: Wed, 6 Mar 2013 16:10:15 +0000 (+0100) Subject: base/dracut-lib.sh: reset /etc/profile X-Git-Tag: 026~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce862de62496cb627a2bfbb7bb4226329ceb60cc;p=platform%2Fupstream%2Fdracut.git base/dracut-lib.sh: reset /etc/profile --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 93283b5..d2c803a 100755 --- 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