mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
Fix collectd check/restore to the ramdisk
This commit is contained in:
@@ -24,12 +24,12 @@ case "$1" in
|
||||
fi
|
||||
fi
|
||||
|
||||
/etc/init.d/collectd restore
|
||||
|
||||
if [ ! -e $RRDLOG.bak/ ]; then
|
||||
mkdir $RRDLOG.bak/
|
||||
fi
|
||||
|
||||
/etc/init.d/collectd restore
|
||||
|
||||
boot_mesg -n "Loading Sensor Modules..."
|
||||
for modul in `cat /etc/sysconfig/lm_sensors | grep '^MODULE_' | cut -d"=" -s -f2`; do
|
||||
modprobe $modul > /dev/null 2>&1;
|
||||
|
||||
Reference in New Issue
Block a user