]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Corrected apcupsd
authorJan Paul Tuecking <earl@ipfire.org>
Mon, 19 Oct 2009 19:23:36 +0000 (21:23 +0200)
committerJan Paul Tuecking <earl@ipfire.org>
Mon, 19 Oct 2009 19:23:36 +0000 (21:23 +0200)
Fixes bug #0000477

config/apcupsd/apcupsd [deleted file]
lfs/apcupsd

diff --git a/config/apcupsd/apcupsd b/config/apcupsd/apcupsd
deleted file mode 100644 (file)
index e5923c5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# Begin $rc_base/init.d/apcupsd
-
-# Based on sysklogd script from LFS-3.1 and earlier.
-
-. /etc/sysconfig/rc
-. $rc_functions
-
-case "$1" in
-       start)
-               boot_mesg "Starting apcupsd daemon..."
-               loadproc apcupsd
-               ;;
-       stop)
-               boot_mesg "Stopping apcupsd daemon..."
-               killproc apcupsd
-               ;;
-       status)
-               statusproc /sbin/apcupsd
-               ;;
-       *)
-               echo "Usage: $0 (start|stop|status)"
-               exit 1
-               ;;
-esac
-
-# End $rc_base/init.d/apcupsd
-
index de6ee24326d1e45e5834f84e2ee3e777f557da03..197d1a4fcf67b8f464850a75106edbac13c21cbc 100644 (file)
@@ -81,7 +81,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                        --with-cgi-bin=/srv/web/ipfire/cgi-bin
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       install -v -m755 $(DIR_SRC)/config/apcupsd/apcupsd /etc/init.d/apcupsd
+       install -v -m755 $(DIR_SRC)/src/initscripts/init.d/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