From: Maniacikarus Date: Wed, 18 Jun 2008 16:51:13 +0000 (+0200) Subject: Change collectd symlink to be started after network X-Git-Tag: v2.3-beta1~29 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=159a9efde519de3e748ac909e88f78b33e84b5bf Change collectd symlink to be started after network --- diff --git a/config/rootfiles/updater/filelists/collectd b/config/rootfiles/updater/filelists/collectd index 7cbd345e96..2e248e0116 100644 --- a/config/rootfiles/updater/filelists/collectd +++ b/config/rootfiles/updater/filelists/collectd @@ -1,6 +1,6 @@ etc/collectd.conf etc/rc.d/rc0.d/K50collectd -etc/rc.d/rc3.d/S20collectd +etc/rc.d/rc3.d/S21collectd etc/rc.d/rc6.d/K50collectd etc/rc.d/init.d/collectd #usr/bin/collectd-nagios diff --git a/config/rootfiles/updater/update.sh b/config/rootfiles/updater/update.sh index e0b96a64d3..526e89d257 100755 --- a/config/rootfiles/updater/update.sh +++ b/config/rootfiles/updater/update.sh @@ -54,6 +54,10 @@ tar cjvf /var/ipfire/backup/update_$OLDVERSION-$NEWVERSION.tar.bz2 \ echo echo Update IPfire to $NEWVERSON ... # +# Delete old collectd symlink +# +rm -rf /etc/rc.d/rc3.d/S20collectd +# # Backup the old grub config # mv /boot/grub/grub.conf /boot/grub/grub-old.conf diff --git a/lfs/collectd b/lfs/collectd index 56ccdc10b6..0e35c6c2ed 100644 --- a/lfs/collectd +++ b/lfs/collectd @@ -89,7 +89,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make install cp -vf $(DIR_SRC)/config/collectd/collectd.conf /etc/ ln -f -s ../init.d/collectd /etc/rc.d/rc0.d/K50collectd - ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S20collectd + ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S21collectd ln -f -s ../init.d/collectd /etc/rc.d/rc6.d/K50collectd @rm -rf $(DIR_APP) @$(POSTBUILD)