summaryrefslogtreecommitdiffstats
path: root/build/rootfs/init
diff options
context:
space:
mode:
Diffstat (limited to 'build/rootfs/init')
-rwxr-xr-xbuild/rootfs/init8
1 files changed, 6 insertions, 2 deletions
diff --git a/build/rootfs/init b/build/rootfs/init
index ca938af..f1bae3c 100755
--- a/build/rootfs/init
+++ b/build/rootfs/init
@@ -68,6 +68,8 @@ echo "1" > /dev/tty0
echo "Starting shell, leaving it would continue init."
getty -i -n -l /bin/cat 38400 tty10 &
+getty -n -l /bin/ash 38400 tty2 &
+getty -n -l /bin/ash 38400 tty3 &
setlogcons 10
# initramfs-setup configuration (common settings for all clients using a
@@ -87,8 +89,10 @@ ip link set dev lo up
ip addr add 127.0.0.1/8 dev lo
ip link set dev $nwif up || echo "I did not find any usable network adaptor."
-echo "/sbin/udhcpc -f -n -q -s /etc/udhcpc.default.script -i $nwif &>/dev/null &" \
- >> /bin/run_udhcpc.sh
+#echo "/sbin/udhcpc -f -n -q -s /etc/udhcpc.default.script -i $nwif &>/dev/null &" \
+# >> /bin/run_udhcpc.sh
+
+mkdir -p /var/tmp /var/run /var/lib
cat /etc/issue