fix dependency loop

This commit is contained in:
iceBear67
2026-07-05 21:12:56 +08:00
parent f9676d1fe4
commit 32bce5d34a
2 changed files with 14 additions and 2 deletions

View File

@@ -7,5 +7,11 @@ output_log="/data/auth-server.log"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net-online
need net
}
start_pre() {
while ! ip route | grep -q '^default'; do
sleep 1
done
}