summarylogtreecommitdiffstats
path: root/ip-up.sh
blob: ef55a5b1d1b0bf0a2fec31853aa0c51fe845f88a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ -x "/usr/sbin/pdnsd-ctl" ]; then
	if [ -n "${DNS2}" ]; then
		DNS1="${DNS1},${DNS2}"
	fi
	/usr/sbin/pdnsd-ctl server dynamic up ${DNS1}
fi