commit 74ec28a4d72abeaf56aa26b62445423e407a1fed parent b98c99ff8a7d14814cc7f04568272dbaac2062c0 Author: ccx <ccx@te2000.cz> Date: Thu, 7 Mar 2024 20:28:45 +0000 loopback Diffstat:
M | s6-rc.aat | | | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/s6-rc.aat b/s6-rc.aat @@ -15,14 +15,14 @@ |### Networking ### +|start_oneshot("loopback") |# TODO: make loopback conditional -|#|start_oneshot("loopback") -|#|enabled_bundle("net-all") -|#|up() -|# {{qexec("if")}} { {{qexec("ip")}} link set lo up } -|# {{qexec("if")}} -nt { {{qexec("ip")}} addr add 127.0.0.1/8 dev lo brd + } -|# {{qexec("pipeline")}} { {{qexec("ip")}} ip addr show dev lo } {{qexec("grep")}} -q "inet 127\\.0\\.0\\.1" -|#|end() +|# enabled_bundle("net-all") +|up() + {{qexec("if")}} { {{qexec("ip")}} link set lo up } + {{qexec("if")}} -nt { {{qexec("ip")}} addr add 127.0.0.1/8 dev lo brd + } + {{qexec("pipeline")}} { {{qexec("ip")}} ip addr show dev lo } {{qexec("grep")}} -q "inet 127\\.0\\.0\\.1" +|end() |if(find("static_ip.rows")) { @for i in static_ip