multiple start up scripts

Thank you very much for your reply. Currently I have this set up under start ups. I used this how to. the firewall worked for a bit but the ads seem to have broken through. Can you please take a look at it and let me know where I am going wrong?

echo (myusername) > /tmp/password.txt echo (mypassword) >> /tmp/password.txt /usr/bin/killall openvpn /usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh --daemon

!/bin/sh

logger WAN up script executing if test -s /tmp/hosts0 then rm /tmp/hosts0 fi

logger Downloading http://www.mvps.org/winhelp2002/hosts.txt wget -O - http://www.mvps.org/winhelp2002/hosts.txt | grep 0.0.0.0 | sed 's/[[:space:]]#.$//g;' | grep -v localhost | tr ' ' '\t' | tr -s '\t' | tr -d '\015' | sort -u >/tmp/hosts0 grep addn-hosts /tmp/dnsmasq.conf || echo "addn-hosts=/tmp/hosts0" >>/tmp/dnsmasq.conf logger Restarting dnsmasq killall dnsmasq dnsmasq --conf-file=/tmp/dnsmasq.conf

/r/DDWRT Thread Parent