revert start_pre hook

This commit is contained in:
iceBear67 committed 2026-07-05 21:17:51 +08:00
1 parent 32bce5d34a
commit 14bd29fb94
2 files changed
-12

No files matched your search

-6
View File
@@ -9,9 +9,3 @@ pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
}
start_pre() {
while ! ip route | grep -q '^default'; do
sleep 1
done
}
-6
View File
@@ -4,12 +4,6 @@ depend() {
need docker net
}
start_pre() {
while ! ip route | grep -q '^default'; do
sleep 1
done
}
command="/usr/bin/tsdns"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"