diff --git a/image/overlay/etc/init.d/auth-server b/image/overlay/etc/init.d/auth-server index c33da84..d80abfb 100755 --- a/image/overlay/etc/init.d/auth-server +++ b/image/overlay/etc/init.d/auth-server @@ -6,22 +6,6 @@ output_log="/data/auth-server.log" pidfile="/run/${RC_SVCNAME}.pid" -start_pre() { - ebegin "Waiting for network" - - timeout=30 - - while [ $timeout -gt 0 ]; do - ip route | grep -q default && break - sleep 1 - timeout=$((timeout-1)) - done - - ip route | grep -q default || return 1 - - eend 0 -} - depend() { need net } diff --git a/image/overlay/etc/init.d/tsdns b/image/overlay/etc/init.d/tsdns index 268670a..5831fc1 100755 --- a/image/overlay/etc/init.d/tsdns +++ b/image/overlay/etc/init.d/tsdns @@ -4,22 +4,6 @@ depend() { need docker net } -start_pre() { - ebegin "Waiting for network" - - timeout=30 - - while [ $timeout -gt 0 ]; do - ip route | grep -q default && break - sleep 1 - timeout=$((timeout-1)) - done - - ip route | grep -q default || return 1 - - eend 0 -} - command="/usr/bin/tsdns" command_background=true pidfile="/run/${RC_SVCNAME}.pid"