You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
388 B

  1. #!/bin/sh
  2. #
  3. # Copyright (c) 2018 Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
  4. # This is free software, licensed under the MIT License
  5. #
  6. uci del_list dhcp.@dnsmasq[0].addnhosts=/etc/safe-search/enabled
  7. uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/safe-search/enabled
  8. uci commit dhcp
  9. #/etc/init.d/dnsmasq reload #safe-search-update does this for us.
  10. /usr/sbin/safe-search-update
  11. exit 0