From fc5b88b2a53ffa8dc8fdb4953c6487f6d8a0e068 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz> Date: Mon, 11 Mar 2024 18:43:04 +0100 Subject: [PATCH] NET net-config@ could be enabled --- network/init.sh | 2 +- network/net-config@.service | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/network/init.sh b/network/init.sh index 781d430..51a75bd 100755 --- a/network/init.sh +++ b/network/init.sh @@ -1,7 +1,7 @@ #!/bin/bash cd "$(dirname "$0")" . ../userconfig-lib.sh -version 6 +version 7 need_root install_begin diff --git a/network/net-config@.service b/network/net-config@.service index 666d52c..23c7382 100644 --- a/network/net-config@.service +++ b/network/net-config@.service @@ -1,6 +1,10 @@ [Unit] Description=Scripts configuring network: %i +After=network.target [Service] Type=oneshot ExecStart=/etc/net/%i + +[Install] +WantedBy=multi-user.target -- GitLab