--- alx-src/branches/alxconf-060/init.d/alxsettings 2013/05/13 09:02:43 4833 +++ alx-src/branches/alxconf-060/init.d/alxsettings 2013/05/13 11:12:37 4834 @@ -581,6 +581,13 @@ # regenerate modprobe.conf [ -x $(which modules-update) ] && modules-update || rc_echo "modules-update not found!" evaluate_retval + + # restore default networking if hardware-detection was called by administrator and iface config is empty + if [[ ${ALX_FORCED_RECHECK} = true ]] && [ ! -s /etc/conf.d/net.${ALX_IFACE} ] && [ -f ${SETTINGSPATH}/confd-networking ] + then + rc_echo " Network config is empty, using default skeleton" + cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.${ALX_IFACE} + fi fi # set system state to 'already configured'