1
0
Fork 0
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:
Marc SCHAEFER 2019-08-11 09:40:39 +02:00 committed by Lars Kruse
parent ab67ad805d
commit 9ef366c71a
7 changed files with 29 additions and 47 deletions

View file

@ -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