/etc/init.d/satip: do not restart when /tmp/nosatip file exists

This commit is contained in:
Jaroslav Kysela 2015-04-03 12:37:24 +02:00
parent a1e4e496bc
commit e51e8bf4c7

View File

@ -7,7 +7,7 @@ if test "$MINISATIP" != "yes"; then
fi fi
cd /tmp cd /tmp
while test 1 -eq 1; do while test ! -f /tmp/nosatip; do
minisatip -f -g $MINISATIP_OPTS minisatip -f -g $MINISATIP_OPTS
logger "minisatip exited $?, restarting" logger "minisatip exited $?, restarting"
done done