]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/apcupsd
apcupsd: move initscript to src/initscripts/packages and use new macro
[people/pmueller/ipfire-2.x.git] / lfs / apcupsd
index 4e9137b111ed9a2fb74a4e551ac2059095810dcd..1d8e0ff4026745bced21412a41cde1fa371e9e33 100644 (file)
@@ -81,6 +81,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                        --with-cgi-bin=/srv/web/ipfire/cgi-bin
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,apcupsd)
+
        ln -sf ../init.d/apcupsd /etc/rc.d/rc3.d/S65apcupsd
        ln -sf ../init.d/apcupsd /etc/rc.d/rc0.d/K35apcupsd
        ln -sf ../init.d/apcupsd /etc/rc.d/rc6.d/K35apcupsd