commit 886fe110bbe90e812949e316adc8c1e41c65c7b4 parent 342a7c3026867ef16ba9dea3cffae3fec6791783 Author: ccx <ccx@te2000.cz> Date: Fri, 22 Mar 2024 00:08:26 +0000 Attempt busybox compatibility in loopback script Diffstat:
M | s6-rc.aat | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/s6-rc.aat b/s6-rc.aat @@ -21,8 +21,8 @@ |enabled_bundle("net-all") |up() {{qexec("if")}} { {{qexec("ip")}} link set dev 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" + {{qexec("if")}} -nt { {{qexec("ip")}} addr add 127.0.0.1/8 dev lo } + {{qexec("pipeline")}} { {{qexec("ip")}} ip addr show dev lo } {{qexec("grep")}} -q "inet 127\.0\.0\.1" |end() |if(find("static_ip.rows")) {