projects
/
invirt/packages/xvm-munin-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a missing invirt-base dependency to the xvm-munin-config packages.
[invirt/packages/xvm-munin-config.git]
/
debian
/
xvm-munin-host-config.postinst
diff --git
a/debian/xvm-munin-host-config.postinst
b/debian/xvm-munin-host-config.postinst
index
1f64371
..
fc2de88
100755
(executable)
--- a/
debian/xvm-munin-host-config.postinst
+++ b/
debian/xvm-munin-host-config.postinst
@@
-37,10
+37,10
@@
EOF
# Install munin plugins that are now configured
munin-node-configure --suggest --shell | sh
# Install munin plugins that are now configured
munin-node-configure --suggest --shell | sh
- (cd /etc/munin/plugins;
+ (cd /etc/munin/plugins &&
for i in smart_*; do
for i in smart_*; do
- if smartctl -i /dev/${i#smart_} | grep Device | grep EQLOGIC; then
- rm -v $i;
+ if smartctl -i "/dev/${i#smart_}" | grep Device | grep EQLOGIC; then
+ rm -v "$i";
fi
done)
fi
done)