dhcpcd: wifi disconnect should also generate ip-down

svn path=/nixos/trunk/; revision=33511
This commit is contained in:
Mathijs Kwik 2012-04-01 10:54:13 +00:00
parent 7ba690add6
commit 7d4fd69b5f
1 changed files with 1 additions and 1 deletions

View File

@ -53,8 +53,8 @@ let
${config.system.build.upstart}/sbin/initctl emit -n ip-up IFACE=$interface
fi
if [ "$reason" = EXPIRE -o "$reason" = RELEASE ]; then
${config.system.build.upstart}/sbin/initctl emit -n ip-down IFACE=$interface
if [ "$reason" = EXPIRE -o "$reason" = RELEASE -o "$reason" = NOCARRIER] ; then
fi
'';