base/dracut-lib.sh: reset /etc/profile

master
Harald Hoyer 2013-03-06 17:10:15 +01:00
parent 500861cd05
commit ce862de624
1 changed files with 1 additions and 0 deletions

View File

@ -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