#!/bin/sh #------------------------------------------------------------------------------ # opt/files/srv/www/admin/alix.cgi __FLI4LVER__ # # Creation: gdw # Last Update: $Id$ #------------------------------------------------------------------------------ . /srv/www/include/cgi-helper # Security check_rights "embedded" "view" . /var/run/embedded.conf i2c_get_temperature set `echo $temperature | sed -e 's#/# #'` cpu=$1 pcb=$2 show_html_header "ALIX" show_tab_header "Temperatur" no cat < Sensor Temp CPU $cpu °C PCB $pcb °C EOF show_tab_footer show_tab_header "BIOS" no echo "" /usr/sbin/pcengines | grep -v Watchdog | sed 's#^##;s# #\ #g' echo "
#;s# *: *##;s#$#
" show_tab_footer show_html_footer