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.

14 lines
422 B

  1. #!/bin/sh
  2. #
  3. # Copyright (c) 2021 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. /usr/sbin/safe-search-maintenance
  10. /usr/sbin/safe-search-update
  11. #/etc/init.d/dnsmasq reload #safe-search-update does this for us.
  12. exit 0