diff --git a/upstart-jobs/network-interfaces.nix b/upstart-jobs/network-interfaces.nix index 161ba506882..7ed68d7a7b2 100644 --- a/upstart-jobs/network-interfaces.nix +++ b/upstart-jobs/network-interfaces.nix @@ -36,7 +36,7 @@ start script name=\${names[$n]} ipAddress=\${ipAddresses[$n]} echo \"Configuring interface $name...\" - ${nettools}/sbin/ifconfig \"$name\" up \"$ipAddress\" || true + ${nettools}/sbin/ifconfig \"$name\" \"$ipAddress\" || true done # Set the nameservers. @@ -52,10 +52,6 @@ start script ${nettools}/sbin/route add default gw \"${defaultGateway}\" || true fi - # Restart dhclient. - #initctl stop dhclient || true - #initctl start dhclient || true - end script # Hack: Upstart doesn't yet support what we want: a service that