updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ppp-hook-pdnsd / ip-up.sh
blobef55a5b1d1b0bf0a2fec31853aa0c51fe845f88a
1 #!/bin/sh
3 if [ -x "/usr/sbin/pdnsd-ctl" ]; then
4 if [ -n "${DNS2}" ]; then
5 DNS1="${DNS1},${DNS2}"
6 fi
7 /usr/sbin/pdnsd-ctl server dynamic up ${DNS1}
8 fi