X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=bird%2Ffiles%2Fbird6loop;fp=bird%2Ffiles%2Fbird6loop;h=0000000000000000000000000000000000000000;hb=0c1529eee2680484c9521e095466afed7519baca;hp=510add4edf7e2065ff39ad4184569e903a718c3a;hpb=0ebe3eb68b0277027a9a2c6e9df6ff33b182cd25;p=lede-routing%2F.git diff --git a/bird/files/bird6loop b/bird/files/bird6loop deleted file mode 100644 index 510add4..0000000 --- a/bird/files/bird6loop +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -BIRD="/usr/sbin/bird6 -c /etc/bird6.conf" - -$BIRD -p || return 1 - -. /lib/functions.sh -. /lib/functions/service.sh - -SERVICE_DAEMONIZE=1 -SERVICE_WRITE_PID=1 - -sig_handler() { - running=0 - service_stop $BIRD -} - -running=1 -trap sig_handler INT -trap sig_handler TERM -while [ $running -gt 0 ]; do - service_check $BIRD || service_start $BIRD -d "$@" - sleep 3 -done