/scripts/alcasar-watchdog.sh |
---|
43,7 → 43,7 |
;; |
esac |
net_pb=`grep "network_pb = true;" $Index_Page|wc -l` |
if [ $net_pb = "0" ] # user alert (only the first time) |
if [ $net_pb = "0" ] # user alert (only the first time) |
then |
/bin/sed -i "s?^\$network_pb.*?\$network_pb = true;?g" $Index_Page |
$IPTABLES -I PREROUTING -t nat -i $TUNIF -p udp --dport domain -j REDIRECT --to-port 56 |
145,5 → 145,5 |
fi |
done |
;; |
esac |
esac |
IFS=$OLDIFS |