diff --git a/repos/ports/run/lighttpd.run b/repos/ports/run/lighttpd.run index 9e124da041..1e69f303a5 100644 --- a/repos/ports/run/lighttpd.run +++ b/repos/ports/run/lighttpd.run @@ -7,17 +7,16 @@ proc ip_stack { } { return lwip } proc socket_fs_plugin { } { - set result "<[ip_stack]" + return "<[ip_stack] dhcp=\"yes\"/>" +} +proc nic_router_uplink { } { + # static IP config on Linux if {[have_spec linux]} { - append result { ip_addr="10.0.2.55" netmask="255.255.255.0"} - append result { gateway="10.0.2.1" nameserver="1.1.1.1"} + return {} } else { - append result { dhcp="yes"} + return {} } - - append result {/>} - return $result } create_boot_directory @@ -79,7 +78,7 @@ install_config { - + } [nic_router_uplink] {