--- alx-src/branches/alxconf_20060908/init.d/alxsettings 2010/12/06 09:18:06 1616 +++ alx-src/branches/alxconf_20060908/init.d/alxsettings 2011/01/25 09:36:42 1715 @@ -154,6 +154,8 @@ if [[ ${ALX_FORCED_RECHECK} = true ]] then echo -e ${COLMAGENTA}"Hardware autodetection forced by system-administrator"${COLDEFAULT} + # always disable CONFD_NETWORKING here + export ALX_CONFD_NETWORKING="false" else echo -e ${COLMAGENTA}"Preparing system for first boot"${COLDEFAULT} fi @@ -566,9 +568,11 @@ #[ ! -d ${SETTINGSPATH} ] && install -d ${SETTINGSPATH} #echo "${NETCARD_DRIVER}" > ${SETTINGSPATH}/modules - # set an device alias for modprobe.conf + # set an device alias for modprobe.conf and modules.conf [ ! -d /etc/modules.d ] && install -d /etc/modules.d + [ ! -d /etc/modprobe.d ] && install -d /etc/modprobe.d echo "alias eth0 ${NETCARD_DRIVER}" > /etc/modules.d/net.eth0 + echo "alias eth0 ${NETCARD_DRIVER}" > /etc/modprobe.d/net.eth0 # regenerate modprobe.conf [ -x $(which modules-update) ] && modules-update || echo "cannot regen modprobe.conf" @@ -578,6 +582,13 @@ # set system state to 'already configured' touch /etc/alxconfig-ng/state/configured + # install slim desktopmanager configuration + cat ${ALX_SKELETONS}/slim/slim.conf > /etc/slim.conf + sed -i "s:@@USERNAME@@:${ALX_UNPRIV_USER}:" /etc/slim.conf + + # install a sane xinitrc + echo "exec startfluxbox" > ${ALX_UNPRIV_HOME}/.xinitrc + # if only an recheck was forced than abort now [[ ${ALX_FORCED_RECHECK} = true ]] && return 0