networkmanager: Use systemctl instead of initctl

This commit is contained in:
Rickard Nilsson 2012-12-30 19:30:06 +01:00
parent 183829cf99
commit 19e8ffc43f

View file

@ -39,7 +39,7 @@ let
ipUpScript = pkgs.writeScript "01nixos-ip-up" ''
#!/bin/sh
if test "$2" = "up"; then
${pkgs.upstart}/sbin/initctl emit ip-up "IFACE=$1"
${config.system.build.systemd}/bin/systemctl start ip-up.target
fi
'';