From e576209a61403e0046c257f7260d95c5163ccc54 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 22 Feb 2007 14:00:22 +0000 Subject: [PATCH] * ifconfig up -> ifconfig. svn path=/nixos/trunk/; revision=8011 --- upstart-jobs/network-interfaces.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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