Change collectd symlink to be started after network

This commit is contained in:
Maniacikarus
2008-06-18 18:51:13 +02:00
parent d6c63380e1
commit 159a9efde5
3 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)