networkmanager: Use systemctl instead of initctl
This commit is contained in:
parent
183829cf99
commit
19e8ffc43f
@ -39,7 +39,7 @@ let
|
|||||||
ipUpScript = pkgs.writeScript "01nixos-ip-up" ''
|
ipUpScript = pkgs.writeScript "01nixos-ip-up" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if test "$2" = "up"; then
|
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
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user