#------------------------------------------------------------------------------ # /etc/boot.d/wrap-hw __FLI4LVER__ # # Creation: 10.09.2006 gdw # Last Update: $Id$ #------------------------------------------------------------------------------ embd_load_drivers() { # nothing to load for wrap at the moment # set type for embedded daemon embd_type="-t hardware" } watchdogd_load_drivers() { do_modprobe scx200_wdt sleep 1 } i2c_load_drivers() { do_modprobe lm77 && do_modprobe scx200_acb base=0x820,0x810 } i2c_get_temperature() { temperature="`sed 's/\([0-9]\{3\}\)$/.\1/' /sys/bus/i2c/devices/0-0048/temp1_input`" }