firmware: remove stale pyc files

PR: https://forum.opnsense.org/index.php?topic=29247.0
This commit is contained in:
Franco Fichtner 2022-07-07 14:08:07 +02:00
parent 595cad8c99
commit 99e4cd28b6

View file

@ -10,3 +10,6 @@ touch /usr/local/opnsense/www/index.php
for DIR in /boot /usr/libexec/bsdinstall /usr/local; do
daemon -f find ${DIR} -type f -name "*.pkgsave" -delete
done
# remove our stale pyc files not handled by pkg
daemon -f find /usr/local/opnsense -type f -name "*.pyc" -delete