mirror of
https://github.com/opnsense/core.git
synced 2026-02-19 02:28:59 -05:00
firmware: remove stale pyc files
PR: https://forum.opnsense.org/index.php?topic=29247.0
This commit is contained in:
parent
595cad8c99
commit
99e4cd28b6
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue