summaryrefslogtreecommitdiffstats
path: root/target/device/KwikByte/kb9202/target_skeleton/etc/init.d/rcS
blob: 8a7684c065e275725e5474d9b0074583a3fc007e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

/bin/mount -n -t proc proc /proc
/bin/mount -o remount,rw /

/bin/mount /sys
echo /sbin/mdev > /proc/sys/kernel/hotplug
/sbin/mdev -a

/bin/mount -a
/bin/hostname -F /etc/hostname
/sbin/ifconfig lo 127.0.0.1 up
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
/sbin/ifup eth0
#telnetd -l /bin/sh