mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
f10a95e88e
svn path=/nixos/trunk/; revision=8506
11 lines
308 B
Text
11 lines
308 B
Text
echo "$reason" >> /tmp/dhcp-exit
|
|
echo "$exit_status" >> /tmp/dhcp-exit
|
|
|
|
if test "$reason" = BOUND -o "$reason" = REBOOT; then
|
|
@glibc@/sbin/nscd --invalidate hosts
|
|
@upstart@/sbin/initctl emit ip-up
|
|
fi
|
|
|
|
if test "$reason" = EXPIRE -o "$reason" = RELEASE; then
|
|
@upstart@/sbin/initctl emit ip-down
|
|
fi
|