mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
initfile for apcupsd to add apcupsd to WEB-IF
This commit is contained in:
@@ -16,3 +16,7 @@ sbin/smtp
|
||||
#usr/share/hal/fdi/policy/20thirdparty
|
||||
#usr/share/hal/fdi/policy/20thirdparty/80-apcupsd-ups-policy.fdi
|
||||
#usr/share/man/man8/apcupsd.8
|
||||
etc/rc.d/init.d/apcupsd
|
||||
etc/rc.d/rc0.d/K35apcupsd
|
||||
etc/rc.d/rc3.d/S65apcupsd
|
||||
etc/rc.d/rc6.d/K35apcupsd
|
||||
|
||||
@@ -80,5 +80,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --enable-usb
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
install -v -m755 $(DIR_SRC)/config/apcupsd/apcupsd /etc/init.d/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
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user