57028f8f1785869a8427530db9833fa67c9d4306
[qi-bootmenu-system.git] / rootfs-overlay / etc / init.d / rcS
blob57028f8f1785869a8427530db9833fa67c9d4306
1 #!/bin/sh
3 . /etc/profile
5 mount -t proc proc /proc
6 mount -t sysfs sysfs /sys
7 mount -t devtmpfs devtmpfs /dev
8 mkdir /dev/pts && mount -t devpts devpts /dev/pts
10 mount -n -o remount,noatime,rw /
12 /sbin/qi-bootmenu `sed -r -n 's/.*qi-bootmenu-args="([^"]*).*/\1/p' /proc/cmdline` &
14 sleep 5
16 /etc/init.d/networking start
17 /etc/init.d/dropbear start
19 /bin/sh -l </dev/console >/dev/console 2>&1