summaryrefslogtreecommitdiff
path: root/modules.d
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-06 17:10:15 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-06 17:29:12 +0100
commitce862de62496cb627a2bfbb7bb4226329ceb60cc (patch)
treec298a03886d235748ac869b27a8be2100f48636c /modules.d
parent500861cd05893f432d9c329b9e68db87c3957f5b (diff)
downloaddracut-ce862de62496cb627a2bfbb7bb4226329ceb60cc.tar.gz
dracut-ce862de62496cb627a2bfbb7bb4226329ceb60cc.tar.bz2
dracut-ce862de62496cb627a2bfbb7bb4226329ceb60cc.zip
base/dracut-lib.sh: reset /etc/profile
Diffstat (limited to 'modules.d')
-rwxr-xr-xmodules.d/99base/dracut-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index 93283b54..d2c803a5 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