mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
b6b5bafa22
svn path=/nixos/trunk/; revision=7533
10 lines
267 B
Text
10 lines
267 B
Text
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
|