Skip to content

Commit

Permalink
firmware: remove stale pyc files
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jul 7, 2022
1 parent 595cad8 commit 99e4cd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/etc/rc.syshook.d/update/10-refresh
Expand Up @@ -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

0 comments on commit 99e4cd2

Please sign in to comment.