Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1738 → Rev 1739

/scripts/sbin/alcasar-bypass.sh
32,7 → 32,7
ifup $INTIF
sh /usr/local/bin/alcasar-iptables-bypass.sh
DHCP=`grep ^DHCP= $CONF_FILE|cut -d"=" -f2`
if [ DHCP != off ]
if [ $DHCP != off ]
then
$SED "s?^#route.*?&?g" /etc/dnsmasq.conf # dnsmasq become the DHCP server
$SED "s?^no-dhcp-interface.*?#&?g" /etc/dnsmasq.conf #