mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
* Create dhcpd.leases, otherwise dhcpd won't start.
svn path=/nixos/trunk/; revision=8380
This commit is contained in:
parent
80a0904196
commit
8447e036fd
@ -16,9 +16,15 @@ start on network-interfaces/started
|
||||
stop on network-interfaces/stop
|
||||
|
||||
script
|
||||
|
||||
mkdir -m 755 -p ${stateDir}
|
||||
|
||||
touch ${stateDir}/dhcpd.leases
|
||||
|
||||
exec ${dhcp}/sbin/dhcpd -f -cf ${configFile} \\
|
||||
-lf ${stateDir}/dhcpd.leases \\
|
||||
${toString interfaces}
|
||||
|
||||
end script
|
||||
";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user