openwrt: save cache to disk when reboot system

This commit is contained in:
Nick Peng
2023-01-16 20:29:56 +08:00
parent ee4816da5c
commit 1f40577ef0
10 changed files with 61 additions and 6 deletions

View File

@@ -2,3 +2,5 @@
/etc/smartdns/address.conf
/etc/smartdns/blacklist-ip.conf
/etc/smartdns/custom.conf
/etc/smartdns/domain-block.list
/etc/smartdns/domain-forwarding.list

View File

@@ -19,4 +19,6 @@
default_prerm $0 $@
rm /var/etc/smartdns.conf -f
rm /var/etc/smartdns/smartdns.conf -f
rm /var/log/smartdns/ -fr
rm /etc/smartdns/smartdns.cache -f
exit 0