Skip to content

Commit

Permalink
Add more scripts that are scanned for env vars
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Dec 22, 2023
1 parent ed5b4e7 commit 10f14b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deb/openmediavault/usr/sbin/omv-env
Expand Up @@ -46,7 +46,10 @@ def grep_env_vars() -> List[str]:
paths = [
'/etc/cron.daily',
'/etc/cron.weekly',
'/etc/cron.monthly'
'/etc/cron.monthly',
'/usr/sbin/omv-btrfs-scrub',
'/usr/sbin/omv-mkraid',
'/usr/sbin/omv-sysinfo'
]
output = openmediavault.procutils.check_output(
['grep', '--no-filename', '--recursive', 'OMV_.*=${OMV_', *paths]
Expand Down

0 comments on commit 10f14b2

Please sign in to comment.