insert autostart in lfs/nagios
authorPeter Pfeiffer <peterman@ipfire.org>
Tue, 19 May 2009 13:35:15 +0000 (15:35 +0200)
committerPeter Pfeiffer <peterman@ipfire.org>
Tue, 19 May 2009 13:35:15 +0000 (15:35 +0200)
lfs/nagios

index bede588494f179c7c91ca5b56a8456033211e9c2..a59e2a43977e9ff53cbba27217e77a9ad4e5f87a 100644 (file)
@@ -106,6 +106,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_SRC)/nagios-plugins* && make $(MAKETUNING)
        cd $(DIR_SRC)/nagios-plugins* && make install
        chown -R nobody:nobody /var/nagios
+       ln -s /etc/init.d/nagios /etc/rc.d/rc3.d/S67nagios
+       ln -s /etc/init.d/nagios /etc/rc.d/rc0.d/K33nagios
+       ln -s /etc/init.d/nagios /etc/rc.d/rc6.d/K33nagios
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
 
+