do not restart remote service

This commit is contained in:
Serghey Rodin 2014-03-23 16:14:21 +02:00
commit 23b187b534
6 changed files with 6 additions and 7 deletions

View file

@ -46,7 +46,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
exit
fi
if [ -z "$DNS_SYSTEM" ]; then
if [ -z "$DNS_SYSTEM" ] || [ "$DNS_SYSTEM" = 'remote' ] ; then
exit
fi