summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-06-30 15:29:56 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-06-30 15:29:56 -0500
commit9645e7f465a667bf920ec193498028f88e7f418e (patch)
tree8e82976084325248e17d16bb6b752be2ca861f9c /bashlogin
parentupdate fixinittab to use mingetty for consoles (diff)
downloadlivecd-tools-2.0.1.tar.gz
livecd-tools-2.0.1.tar.bz2
livecd-tools-2.0.1.zip
Revert "remove bashlogin"livecd-tools-2.0.1
This reverts commit 1058b90acbaa2550892cfe93c2cef8dad0e1cacd. We still need this for serial lines.
Diffstat (limited to 'bashlogin')
-rwxr-xr-xbashlogin7
1 files changed, 7 insertions, 0 deletions
diff --git a/bashlogin b/bashlogin
new file mode 100755
index 0000000..ea9493a
--- /dev/null
+++ b/bashlogin
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+export HOME=/root
+cat /etc/motd 2>/dev/null
+cd /root
+[[ -e .bash_profile ]] && source .bash_profile
+exec -l /bin/bash -i