[Debconf-video-commits] r221 - fai-config/scripts/DEBCONF8
holger at alioth.debian.org
holger at alioth.debian.org
Fri Aug 8 02:51:24 UTC 2008
Author: holger
Date: 2008-08-08 02:51:23 +0000 (Fri, 08 Aug 2008)
New Revision: 221
Modified:
fai-config/scripts/DEBCONF8/50-smart-munin
Log:
enable smart if disks are detected
Modified: fai-config/scripts/DEBCONF8/50-smart-munin
===================================================================
--- fai-config/scripts/DEBCONF8/50-smart-munin 2008-08-08 02:14:33 UTC (rev 220)
+++ fai-config/scripts/DEBCONF8/50-smart-munin 2008-08-08 02:51:23 UTC (rev 221)
@@ -9,7 +9,7 @@
# smart munin plugins
#
for i in hda hdb hdc sda sdb sdc sdd sde sdf ; do {
- [ -b /dev/$i ] && ln -sf /usr/share/munin/plugins/smart_ /etc/munin/plugins/smart_$i
+ [ -b /dev/$i ] && ln -sf /usr/share/munin/plugins/smart_ /etc/munin/plugins/smart_$i && ainsl /etc/default/smartmontools "start_smartd=yes"
} ; done
$ROOTCMD ln -sf /usr/share/munin/plugins/hddtemp_smartctl /etc/munin/plugins/hddtemp_smartctl
More information about the Debconf-video-commits
mailing list