#------------------------------------------------------------------------------ # /etc/rc.d/rc850.embedded - setup http interface __FLI4LVER__ # # Creation: 23.05.2005 babel # Last Update: $Id$ #------------------------------------------------------------------------------ begin_script EMBEDDED "configure http for embedded ..." embedded_load_hw_scripts if i2c_load_drivers; then httpd-menu.sh add -p 600 ${EMBEDDED_TYPE}.cgi "${EMBEDDED_TYPE}" "" ${EMBEDDED_TYPE} else log_error "failed to load i2c support for ${EMBEDDED_TYPE}, disabling http interface" fi if [ -c /dev/hw_random -a -x /usr/sbin/rngd ] then /usr/sbin/rngd -t 1 -r /dev/hw_random fi end_script