581 |
# regenerate modprobe.conf |
# regenerate modprobe.conf |
582 |
[ -x $(which modules-update) ] && modules-update || rc_echo "modules-update not found!" |
[ -x $(which modules-update) ] && modules-update || rc_echo "modules-update not found!" |
583 |
evaluate_retval |
evaluate_retval |
584 |
|
|
585 |
|
# restore default networking if hardware-detection was called by administrator and iface config is empty |
586 |
|
if [[ ${ALX_FORCED_RECHECK} = true ]] && [ ! -s /etc/conf.d/net.${ALX_IFACE} ] && [ -f ${SETTINGSPATH}/confd-networking ] |
587 |
|
then |
588 |
|
rc_echo " Network config is empty, using default skeleton" |
589 |
|
cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.${ALX_IFACE} |
590 |
|
fi |
591 |
fi |
fi |
592 |
|
|
593 |
# set system state to 'already configured' |
# set system state to 'already configured' |