* ifconfig up -> ifconfig.

svn path=/nixos/trunk/; revision=8011
This commit is contained in:
Eelco Dolstra 2007-02-22 14:00:22 +00:00
parent 8e6c1ba85d
commit e576209a61

View File

@ -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