diff --git a/src/etc/rc.syshook.d/update/10-refresh.sh b/src/etc/rc.syshook.d/update/10-refresh.sh index ae5eee6b91..dd3366d993 100755 --- a/src/etc/rc.syshook.d/update/10-refresh.sh +++ b/src/etc/rc.syshook.d/update/10-refresh.sh @@ -2,3 +2,6 @@ # refresh relevant configuration files /usr/local/etc/rc.configure_firmware + +# remove our stale pyc files not handled by pkg +find /usr/local/opnsense -type f -name "*.pyc" -delete