3
0
Fork 0
forked from mirrors/nixpkgs

* Don't use the DHCP wrapper.

svn path=/nixos/trunk/; revision=7921
This commit is contained in:
Eelco Dolstra 2007-02-20 14:20:33 +00:00
parent 17cc5ecc47
commit 619c3e0465
2 changed files with 3 additions and 2 deletions

View file

@ -93,8 +93,7 @@ import ../upstart-jobs/gather.nix {
# DHCP client.
++ optional ["networking" "useDHCP"]
(import ../upstart-jobs/dhclient.nix {
inherit (pkgs) nettools;
dhcp = pkgs.dhcpWrapper;
inherit (pkgs) nettools dhcp;
})
# SSH daemon.

View file

@ -9,6 +9,8 @@ description \"DHCP client\"
start on network-interfaces/started
stop on network-interfaces/stop
env PATH_DHCLIENT_SCRIPT=${dhcp}/sbin/dhclient-script
script
# Determine the interface on which to start dhclient.
interfaces=