preos 0.4
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
parent
7d7aa60e19
commit
50bca7891f
3 changed files with 6 additions and 4 deletions
5
hacking/v3-busybox/init
Normal file → Executable file
5
hacking/v3-busybox/init
Normal file → Executable 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue