1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh mount -t proc proc /proc mount -t sysfs sysfs /sys mkdir -p /dev/pts mount -t devpts devpts /dev/pts echo /sbin/mdev >/proc/sys/kernel/hotplug mdev -s hostname -F /etc/hostname ifdown eth0 ifup eth0 run-parts -a start /etc/init.d