--- mcore-src/trunk/mcore-tools/src/mcored.in 2015/09/10 08:18:17 2477 +++ mcore-src/trunk/mcore-tools/src/mcored.in 2015/09/10 08:32:31 2478 @@ -13,7 +13,6 @@ source ${MCORE_LIBDIR}/include/common.global.class include ${MCORE_LIBDIR}/include/daemon.global.class include ${MCORE_LIBDIR}/include/sessionauth.global.class -#include ${MCORE_LIBDIR}/include/mysqlfunctions.global.class include ${MCORE_LIBDIR}/include/register.global.class include ${MCORE_LIBDIR}/include/hwdetection.global.class @@ -22,36 +21,6 @@ # config settings include @@SYSCONFDIR@@/mcore/mcore.conf -#source @@SYSCONFDIR@@/mcore/serial - -# import_hardware_resource() -# { -# local resource="$1" -# local value -# -# # special cases -# case ${resource} in -# gfxcard) value="$(get_x11_driver_modules)" ;; -# *) value="$(get_hwinfo --with-description ${resource})" ;; -# esac -# -# # if [[ ${DEBUG} = 1 ]] -# # then -# # echo "${resource}=${value}" >> /root/lala.log -# # echo "mysqldo \"update status set ${resource}='${value}' where serial=${ALX_SERIAL};\"" >> /root/lala.log -# # fi -# # mysql_insert status,serial="${ALX_SERIAL}","${resource}"="${value}" -# -# import_resource status "${ALX_SERIAL}" "${resource}" "${value}" -# } - - -# set_init_state() -# { -# local ip -# ip=$(ifconfig | grep -A1 eth0 | grep inet | sed 's/.*inet\ addr:\(.*\) Bcast.*/\1/;') -# -# } DEBUG=1 NOCOLORS="false"