2015-03-31 16:39:17 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
test -r /etc/sysconfig/config && . /etc/sysconfig/config
|
|
|
|
|
|
|
|
if test "$MINISATIP" != "yes"; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd /tmp
|
2015-04-03 12:37:24 +02:00
|
|
|
while test ! -f /tmp/nosatip; do
|
2015-04-09 09:53:52 +02:00
|
|
|
while ! test -r /tmp/satip-network; do
|
|
|
|
nc -l 127.0.0.1:999 -e /etc/init.d/satip-network
|
|
|
|
done
|
2015-04-10 15:08:02 +02:00
|
|
|
. /etc/sysconfig/config
|
2015-03-31 16:39:17 +02:00
|
|
|
minisatip -f -g $MINISATIP_OPTS
|
|
|
|
logger "minisatip exited $?, restarting"
|
|
|
|
done
|
2015-04-07 08:43:01 +02:00
|
|
|
if test -f /tmp/nosatip; then
|
|
|
|
sleep 87323123
|
|
|
|
fi
|