aboutsummaryrefslogtreecommitdiff
path: root/scripts/init.rootfs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/init.rootfs')
-rw-r--r--scripts/init.rootfs23
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