mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
systemd_units: fix indent
This commit is contained in:
parent
a2f1592fe5
commit
a9476f50fd
1 changed files with 8 additions and 9 deletions
|
@ -61,8 +61,7 @@ EOF
|
||||||
|
|
||||||
fetch () {
|
fetch () {
|
||||||
tmp=$(systemctl --no-pager --no-legend --all | awk '{print $1, $3}')
|
tmp=$(systemctl --no-pager --no-legend --all | awk '{print $1, $3}')
|
||||||
for state in \
|
for state in $states ; do
|
||||||
$states ; do
|
|
||||||
echo -n "$state.value "
|
echo -n "$state.value "
|
||||||
echo "$tmp" | grep -c "$state$"
|
echo "$tmp" | grep -c "$state$"
|
||||||
extinfo=$(echo "$tmp" | grep "$state$" | cut -d " " -f 1)
|
extinfo=$(echo "$tmp" | grep "$state$" | cut -d " " -f 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue