#! /bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel
#
# Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#
trap ":" INT QUIT TSTP
#SCSI modules
#/bin/insmod /lib/scsi_mod.o
#/bin/insmod /lib/sd_mod.o
#Input modules
/bin/insmod /lib/input.o
#/bin/insmod /lib/keybdev.o
#/bin/insmod /lib/mousedev.o
/bin/insmod /lib/evdev.o
#Charactor modules
#/bin/insmod /lib/matrix4-buttons.o
#/bin/insmod /lib/matrix4-leds.o
#Sound Modules
#/bin/insmod /lib/sound_core.o
#/bin/insmod /lib/s3c2410-uda1341.o
#ln -s /dev/fb/0 /dev/fb0
ln -s /dev/vc/0 /dev/tty1
#ln -s /dev/sound/dsp /dev/dsp
#ln -s /dev/sound/mixer /dev/mixer
#ln -s /dev/scsi/host1/bus0/target0/lun0/part1 /dev/sda1
/sbin/mount -t proc none /proc
/sbin/mount -t tmpfs none /tmp
/sbin/mount -t tmpfs none /var
/bin/mkdir -p /var/lib
/bin/mkdir -p /var/run
/bin/mkdir -p /var/log
#Usb devices
#USB Storge
#/bin/insmod /lib/usb-storage.o
#/bin/insmod /lib/video.o
#/bin/insmod /lib/videodev.o
#/bin/insmod /lib/ov511.o
#/bin/insmod /lib/lcd640x480x32.o
/bin/insmod /lib/hid-core.o
#/bin/insmod /lib/usbmouse.o
#/bin/insmod /lib/usbkbd.o
/etc/rc.d/init.d/netd start
/etc/rc.d/init.d/httpd start
#/etc/rc.d/init.d/leds start
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 172.29.26.41 netmask 255.255.255.0
/sbin/route add default gw 172.29.26.1
/bin/hostname -F /etc/sysconfig/HOSTNAME