* ifconfig up -> ifconfig.
svn path=/nixos/trunk/; revision=8011
This commit is contained in:
parent
8e6c1ba85d
commit
e576209a61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user