mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-28 11:54:52 +00:00
- autoconf cleanup - better lxc_clean_fieldname workaround supporting non numeric compatibility - lxc_netdev now compatible with lxc3 and lxc2 at a small CPU cost - lxc_cgroup now compatible with lxc3 and lxc2; may however fail with lxc2 if your config file contains cruft
This commit is contained in:
parent
ab67ad805d
commit
9ef366c71a
7 changed files with 29 additions and 47 deletions
|
@ -41,13 +41,7 @@ or GPLv3 license, at your option
|
|||
active_guests=$(active_guests)
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
if [ -r /proc/stat ]; then
|
||||
echo yes
|
||||
exit 0
|
||||
else
|
||||
echo "no (no /proc/stat)"
|
||||
exit 0
|
||||
fi
|
||||
lxc_autoconf
|
||||
fi
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue