commit b98c99ff8a7d14814cc7f04568272dbaac2062c0 parent e2860ea31ca408629c42dc4636c1266a20daf988 Author: ccx <ccx@te2000.cz> Date: Thu, 7 Mar 2024 20:27:02 +0000 loopback, /mnt/boot Diffstat:
M | fs | | | 2 | +- |
M | s6-rc.aat | | | 15 | ++++++++------- |
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/fs b/fs @@ -70,7 +70,7 @@ # type=swap # options=defaults -/boot +/mnt/boot source=/dev/nvme0n1p2 type=ext4 options=ro,nosuid diff --git a/s6-rc.aat b/s6-rc.aat @@ -15,13 +15,14 @@ |### Networking ### -|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() +|# 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() |if(find("static_ip.rows")) { @for i in static_ip