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 #!/bin/sh
if test "$2" = "up"; then if test "$2" = "up"; then
${pkgs.upstart}/sbin/initctl emit ip-up ${pkgs.upstart}/sbin/initctl emit ip-up "IFACE=$1"
fi fi
''; '';
target = "NetworkManager/dispatcher.d/01nixos-ip-up"; target = "NetworkManager/dispatcher.d/01nixos-ip-up";