mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
apcupsd: move initscript to src/initscripts/packages and use new macro
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user