diff options
-rw-r--r-- | target/generic/mini_device_table.txt | 1 | ||||
-rw-r--r-- | target/generic/target_busybox_skeleton/etc/inittab | 24 |
2 files changed, 13 insertions, 12 deletions
diff --git a/target/generic/mini_device_table.txt b/target/generic/mini_device_table.txt index 5be00cac3..e6e8d51bb 100644 --- a/target/generic/mini_device_table.txt +++ b/target/generic/mini_device_table.txt @@ -41,6 +41,7 @@ /config d 755 0 0 - - - - - /proc d 755 0 0 - - - - - /home/default d 2755 1000 1000 - - - - - +/root d 750 0 0 - - - - - #<name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> /bin/busybox f 4755 0 0 - - - - - /etc/shadow f 600 0 0 - - - - - diff --git a/target/generic/target_busybox_skeleton/etc/inittab b/target/generic/target_busybox_skeleton/etc/inittab index aff1fdfd3..bb183059f 100644 --- a/target/generic/target_busybox_skeleton/etc/inittab +++ b/target/generic/target_busybox_skeleton/etc/inittab @@ -14,18 +14,18 @@ # process == program to run # Startup the system -null::sysinit:/bin/mount -t proc none /proc -null::sysinit:/bin/mount -t sysfs none /sys -null::sysinit:/bin/mount -t tmpfs -o size=512k,mode=0755 none /dev -null::sysinit:/bin/mkdir /dev/pts -null::sysinit:/bin/mount -t devpts devpts /dev/pts -null::sysinit:/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug -null::sysinit:/sbin/mdev -s -null::sysinit:/bin/mount -o remount,rw / -null::sysinit:/bin/mount -a -null::sysinit:/bin/hostname -F /etc/hostname -null::sysinit:/sbin/ifconfig lo 127.0.0.1 up -null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo +::sysinit:/bin/mount -t proc none /proc +::sysinit:/bin/mount -t sysfs none /sys +::sysinit:/bin/mount -t tmpfs -o size=64k,mode=0755 none /dev +::sysinit:/bin/mkdir /dev/pts +::sysinit:/bin/mount -t devpts devpts /dev/pts +::sysinit:/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug +::sysinit:/sbin/mdev -s +::sysinit:/bin/mount -o remount,rw / +::sysinit:/bin/mount -a +::sysinit:/bin/hostname -F /etc/hostname +::sysinit:/sbin/ifconfig lo 127.0.0.1 up +::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo # now run any rc scripts ::sysinit:/etc/init.d/rcS |