From 9e59c9bc006734237510e8bbb36e83ed429cd03f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 9 Mar 2007 12:32:09 +0000 Subject: [PATCH] - add homedir --- target/generic/mini_device_table.txt | 1 + .../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 5be00cac36..e6e8d51bb8 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 - - - - - # /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 aff1fdfd3c..bb183059f7 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 -- 2.30.2