preos 0.4

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-05-19 11:39:39 +02:00
commit 50bca7891f
3 changed files with 6 additions and 4 deletions

5
hacking/v3-busybox/init Normal file → Executable file
View file

@ -1,5 +1,8 @@
#!/bin/sh
#Create all the symlinks to /bin/busybox
/bin/busybox --install -s
#Mount things needed by this script
mount -t proc proc /proc
mount -t sysfs sysfs /sys
@ -7,8 +10,6 @@ mount -t sysfs sysfs /sys
#Disable kernel messages from popping onto the screen
echo 0 > /proc/sys/kernel/printk
#Create all the symlinks to /bin/busybox
busybox --install -s
#Create device nodes
mknod /dev/null c 1 3