diff options
author | lns <matzeton@googlemail.com> | 2018-08-25 01:51:34 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2018-08-25 01:51:34 +0200 |
commit | 7057069e6e6171b217717329e494ea63a82e48e9 (patch) | |
tree | 813d088c103ea368a26ac51128d233cf011b8b49 /scripts | |
parent | 8e35dc34d91b786ad5913b65a287122fef9028fb (diff) |
make oldconfig [+] make qemu [+] basic /init script
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/init.rootfs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/init.rootfs b/scripts/init.rootfs new file mode 100644 index 0000000..460866b --- /dev/null +++ b/scripts/init.rootfs @@ -0,0 +1,23 @@ +#!/bin/sh + +mkdir -p /proc /sys +mount -t proc none /proc +mount -t sysfs none /sys + +cat <<! + + +Boot took $(cut -d' ' -f1 /proc/uptime) seconds + + _ _ __ _ + /\/\ (_)_ __ (_) / /(_)_ __ _ ___ __ + / \| | '_ \| | / / | | '_ \| | | \ \/ / +/ /\/\ \ | | | | | / /__| | | | | |_| |> < +\/ \/_|_| |_|_| \____/_|_| |_|\__,_/_/\_\ + + +Welcome to mini_linux + + +! +exec /bin/sh |