mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos: Support network-online target in addition to ip-up
This commit is contained in:
parent
0626c1ecf0
commit
2057d9087f
3 changed files with 5 additions and 2 deletions
|
@ -52,6 +52,7 @@ let
|
|||
#!/bin/sh
|
||||
if test "$2" = "up"; then
|
||||
${config.systemd.package}/bin/systemctl start ip-up.target
|
||||
${config.systemd.package}/bin/systemctl start network-online.target
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue