diff options
Diffstat (limited to 'rootfs/etc')
-rw-r--r-- | rootfs/etc/fstab | 1 | ||||
-rwxr-xr-x | rootfs/etc/init.d/rcS | 7 | ||||
-rw-r--r-- | rootfs/etc/inittab | 2 | ||||
-rw-r--r-- | rootfs/etc/profile | 1 |
4 files changed, 5 insertions, 6 deletions
diff --git a/rootfs/etc/fstab b/rootfs/etc/fstab index e84b78a..a474c4a 100644 --- a/rootfs/etc/fstab +++ b/rootfs/etc/fstab @@ -1 +1,2 @@ proc /proc proc defaults 0 0 +sysfs /sys sysfs defaults 0 0 diff --git a/rootfs/etc/init.d/rcS b/rootfs/etc/init.d/rcS index be9ca09..59e0fe0 100755 --- a/rootfs/etc/init.d/rcS +++ b/rootfs/etc/init.d/rcS @@ -1,5 +1,4 @@ #!/bin/sh -# mount all drives in /etc/fstab -/bin/mount -a -# set the system hostname -/bin/hostname -F /etc/hostname +mount -a +hostname -F /etc/hostname +syslogd diff --git a/rootfs/etc/inittab b/rootfs/etc/inittab index 805a39d..3f0c41a 100644 --- a/rootfs/etc/inittab +++ b/rootfs/etc/inittab @@ -4,5 +4,5 @@ ::restart:/sbin/init # put a shell on ttyS0 (serial header on board) -ttyS0::respawn:/bin/sh +ttyS0::respawn:-/bin/sh diff --git a/rootfs/etc/profile b/rootfs/etc/profile index 8e38c52..431ef69 100644 --- a/rootfs/etc/profile +++ b/rootfs/etc/profile @@ -1,6 +1,5 @@ # /etc/profile umask 022 -cd "$HOME" export PATH="$PATH:/usr/bin" export LD_LIBRARY_PATH="/lib" |