rc: also clear the IP cache files

This commit is contained in:
Franco Fichtner 2017-05-15 06:57:33 +02:00
parent 210221c978
commit f3ed9ca3bc

View File

@ -194,7 +194,8 @@ mtree -deiU -f /etc/mtree/BSD.var.dist -p /var > /dev/null
# old config files are stored in this place
mkdir -p /var/etc
# clear nameserver/searchdomain cache files
# clear nameserver, searchdomain and IP cache files
rm -f /var/db/*_ip /var/db/*_ipv6 /var/db/*_cacheip /var/db/*_cacheipv6
rm -f /var/etc/nameserver_* /var/etc/searchdomain_*
# work around the fact that shutdown(8) doesn't clean up this file