#------------------------------------------------------------------------------ # /etc/rc.d/rc001.soekris __FLI4LVER__ # # Creation: 10.09.2006 gdw # Last Update: $Id$ #------------------------------------------------------------------------------ # previously used major=254 # we now use 251 but we should switch to dynamiclly # allocated major nodes. do_modprobe scx200_gpio sleep 1 major=`sed -n '/scx200/s/ .*//p' /proc/devices` mknod -m 600 /dev/gpio0 c $major 0 mknod -m 600 /dev/gpio1 c $major 1 # LED1 is named "Error" at the soekris case mknod -m 600 /dev/embdled1 c $major 20 ln -s /dev/embdled1 /dev/embdled-error do_modprobe scx200_wdt do_modprobe pc87360 init=3 do_modprobe lm78 # access via device, one led, inverted logik, no button hwsupp_type="-t device -n 1 -i -b"