NM: add IFACE to ip-up

svn path=/nixos/trunk/; revision=33107
This commit is contained in:
Yury G. Kudryashov 2012-03-15 13:51:17 +00:00
parent 1186167be2
commit 9bb1132525

View File

@ -69,7 +69,7 @@ in
''
#!/bin/sh
if test "$2" = "up"; then
${pkgs.upstart}/sbin/initctl emit ip-up
${pkgs.upstart}/sbin/initctl emit ip-up "IFACE=$1"
fi
'';
target = "NetworkManager/dispatcher.d/01nixos-ip-up";