module start "laptop" "Laptopmode Install" if [[ ! -z "${cfg[laptop]}" ]] && [[ "${cfg[de]}" == "none" ]]; then echo "${modulename}" #sed -i "/HandleLidSwitch/s/^#//g" "${dest}/etc/elogind/logind.conf" #echo sed -i "/HandleLidSwitch/s/^#//g" "${dest}/etc/elogind/logind.conf" fi module end