From: Peter Pfeiffer Date: Sun, 6 Sep 2009 09:18:57 +0000 (+0200) Subject: initfile for apcupsd to add apcupsd to WEB-IF X-Git-Tag: v2.5-core31~45 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=92a0762c33e471def9bcdefefa6b906279fb996f;hp=355e29d9f4bcf385a42bde9e183ef6a01c1db8cf initfile for apcupsd to add apcupsd to WEB-IF --- diff --git a/config/rootfiles/packages/apcupsd b/config/rootfiles/packages/apcupsd index f51255f1ab..7d81689000 100644 --- a/config/rootfiles/packages/apcupsd +++ b/config/rootfiles/packages/apcupsd @@ -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 diff --git a/lfs/apcupsd b/lfs/apcupsd index af6de2273e..6d6fc913d5 100644 --- a/lfs/apcupsd +++ b/lfs/apcupsd @@ -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)