123456789101112131415161718 |
- build:
- @echo "repo/dns/update/install"
- repo:
- git clone https://github.com/felixonmars/dnsmasq-china-list --depth=1
- dns:
- cd dnsmasq-china-list && make SERVER=127.0.0.1#5353 dnsmasq
- mv dnsmasq-china-list/*.dnsmasq.conf rules
- update:
- cd dnsmasq-china-list && git pull
- @echo "Updated. Please run 'make run' to generate new config file."
- install:
- rm -ri /etc/dnsmasq.d
- ln -s rules /etc/dnsmasq.d
- ln -s scripts /etc
|