+ # send errors to /dev/null as well because the sed line inside the /lib/udev/write_net_rules
+ # script outputs a sed warning which might unsettle users
+ chmod +x /etc/udev/scripts/netcardconfig && /etc/udev/scripts/netcardconfig 1>/dev/null 2>&1
+}
+
+disable_config_dhcp() {
+ if grep -q CONFIG_DHCP /etc/grml/autoconfig ; then
+ sed -i "s|^CONFIG_DHCP.*|CONFIG_DHCP='no'|" /etc/grml/autoconfig
+ fi