collectd: start after ntpd.

This commit is contained in:
Arne Fitzenreiter
2011-01-01 17:54:33 +01:00
parent b307417f30
commit 8251173b76
3 changed files with 9 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ etc/collectd.custom
etc/collectd.precache
etc/collectd.thermal
etc/rc.d/rc0.d/K50collectd
etc/rc.d/rc3.d/S21collectd
etc/rc.d/rc3.d/S29collectd
etc/rc.d/rc6.d/K50collectd
#usr/bin/collectd-nagios
#usr/etc/collectd.conf

View File

@@ -103,6 +103,12 @@ echo Unpack the updated files ...
tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \
--no-overwrite-dir
#
# Change collectd init symlinks
#
rm -f /etc/rc.d/rc3.d/S21collectd
ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S29collectd
# Remove old pakfire cronjob.
rm -f /etc/fcron.daily/pakfire-update

View File

@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
# Copyright (C) 2010 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -91,7 +91,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && make install
cp -vf $(DIR_SRC)/config/collectd/collectd.* /etc/
ln -f -s ../init.d/collectd /etc/rc.d/rc0.d/K50collectd
ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S21collectd
ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S29collectd
ln -f -s ../init.d/collectd /etc/rc.d/rc6.d/K50collectd
@rm -rf $(DIR_APP)
@$(POSTBUILD)