mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Plugin lxc: verify the availability of "lxc-ls"
Previously "autoconf" only verified, that /var/lib/lxc exists. But this could be just a remainder of a formerly installed lxc package.
This commit is contained in:
parent
59cb851cf5
commit
856572ad9b
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,8 @@ do_autoconf() {
|
|||
echo "no (/proc/net/dev cannot be read)"
|
||||
elif [ ! -e "$lxcpath" ]; then
|
||||
echo "no ($lxcpath is not present)"
|
||||
elif [ -z "$(which lxc-ls)" ]; then
|
||||
echo "no ('lxc-ls' is not available in PATH)"
|
||||
else
|
||||
echo yes
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue