mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Get the default suite from /etc/os-release
This commit is contained in:
parent
40366a4c1e
commit
b247f8f228
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ if [ ! -x /usr/bin/debsecan ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
SUITE=${suite:-sid}
|
||||
source /etc/os-release
|
||||
SUITE=${suite:-$VERSION_CODENAME}
|
||||
|
||||
FIXEDWARN=${fixed_warning:-1}
|
||||
FIXEDCRIT=${fixed_critical:-1000}
|
||||
REMOTEWARN=${remote_warning:-1}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue