diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-08-28 20:30:08 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-08-28 20:30:08 +0200 |
commit | 47326cbed27b11d17c41be30180f61cbc3c6ddb8 (patch) | |
tree | 28ff47531b4066177d058f7c4ab799623147241c | |
parent | ad28ebe8b8e44eb82e08e5b40d3c7931b17129ce (diff) |
init script sets hostname and PS1
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | scripts/init.rootfs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/init.rootfs b/scripts/init.rootfs index 0bd2cea..76933c9 100644 --- a/scripts/init.rootfs +++ b/scripts/init.rootfs @@ -1,5 +1,6 @@ #!/bin/sh export PATH="/bin:/sbin:/usr/bin:/usr/sbin" +export PS1='\w \h\$ ' mkdir -p /dev /proc /sys mount -t devtmpfs none /dev @@ -41,6 +42,7 @@ for arg in $(cat /proc/cmdline | tr '[:upper:]' '[:lower:]'); do fi done +hostname minlin loadkmap </usr/share/keymaps/i386/qwertz/de-latin1.bmap setsid cttyhack sh poweroff -f |