mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
f037f6fbd4
* ntpd: start on ip-up, not when the network interfaces are up, otherwise it will fail because it can't find any servers right away. svn path=/nixos/trunk/; revision=7461
11 lines
267 B
Plaintext
11 lines
267 B
Plaintext
echo "$reason" >> /tmp/dhcp-exit
|
|
echo "$exit_status" >> /tmp/dhcp-exit
|
|
|
|
if test "$reason" = BOUND -o "$reason" = REBOOT; then
|
|
@upstart@/sbin/initctl emit ip-up
|
|
fi
|
|
|
|
if test "$reason" = EXPIRE -o "$reason" = RELEASE; then
|
|
@upstart@/sbin/initctl emit ip-down
|
|
fi
|