load_domestic(){ cat>/etc/smartdns/expose/domestic.conf</etc/smartdns/expose/foreign.conf< /etc/smartdns/config.conf cat /etc/smartdns/expose/domestic.conf >> /etc/smartdns/config.conf while read -r raw do echo "$raw -group foreign -exclude-default-group" >> /etc/smartdns/config.conf done < /etc/smartdns/expose/foreign.conf