revert start_pre hook

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

View File

@@ -9,9 +9,3 @@ pidfile="/run/${RC_SVCNAME}.pid"
depend() { depend() {
need net need net
} }
start_pre() {
while ! ip route | grep -q '^default'; do
sleep 1
done
}

View File

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