dhcpcd: wifi disconnect should also generate ip-down
svn path=/nixos/trunk/; revision=33511
This commit is contained in:
parent
7ba690add6
commit
7d4fd69b5f
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue