mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
core159: add makegraphs and hddshutdown cronjob
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -2,3 +2,4 @@ etc/rc.d/init.d/firewall
|
|||||||
etc/rc.d/init.d/leds
|
etc/rc.d/init.d/leds
|
||||||
etc/rc.d/init.d/networking/functions.network
|
etc/rc.d/init.d/networking/functions.network
|
||||||
etc/rc.d/init.d/sysctl
|
etc/rc.d/init.d/sysctl
|
||||||
|
usr/local/bin/makegraphs
|
||||||
|
|||||||
@@ -127,6 +127,11 @@ fi
|
|||||||
/usr/local/bin/openvpnctrl -s
|
/usr/local/bin/openvpnctrl -s
|
||||||
/usr/local/bin/openvpnctrl -sn2n
|
/usr/local/bin/openvpnctrl -sn2n
|
||||||
|
|
||||||
|
# Update hddshutdown cronjob
|
||||||
|
sed -e "s|^.*/usr/local/bin/hddshutdown.*$|2,32 * * * * \t/usr/local/bin/hddshutdown >/dev/null|g" \
|
||||||
|
-i /var/spool/cron/root.orig
|
||||||
|
fcrontab -z
|
||||||
|
|
||||||
# remove lm_sensor config after collectd was started
|
# remove lm_sensor config after collectd was started
|
||||||
# to reserch sensors at next boot with updated kernel
|
# to reserch sensors at next boot with updated kernel
|
||||||
rm -f /etc/sysconfig/lm_sensors
|
rm -f /etc/sysconfig/lm_sensors
|
||||||
|
|||||||
Reference in New Issue
Block a user