ho fatto cosi
e ora funziona!!codice:#! /bin/sh count=`/sbin/service named status | egrep -w "stopped|dead" | wc -l ` if [ $count -ne 0 ] then /sbin/service named restart fi
grazie
ho fatto cosi
e ora funziona!!codice:#! /bin/sh count=`/sbin/service named status | egrep -w "stopped|dead" | wc -l ` if [ $count -ne 0 ] then /sbin/service named restart fi
grazie