summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-03-18 03:28:41 +0000
committerDonny Davies <woodchip@gentoo.org>2002-03-18 03:28:41 +0000
commit6b1ccd16e2cdd1f178f86b60bbf801dccd29a15c (patch)
tree8644935a342d0bf9e422b8fc2011b2622e670846 /sys-apps/apmd
parentAdded dev-util/indent do DEPEND flags (diff)
downloadgentoo-2-6b1ccd16e2cdd1f178f86b60bbf801dccd29a15c.tar.gz
gentoo-2-6b1ccd16e2cdd1f178f86b60bbf801dccd29a15c.tar.bz2
gentoo-2-6b1ccd16e2cdd1f178f86b60bbf801dccd29a15c.zip
fix initscript to allow apmd to start properly. closes #1143, #1072.
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r--sys-apps/apmd/ChangeLog10
-rw-r--r--sys-apps/apmd/apmd-3.0.2-r1.ebuild (renamed from sys-apps/apmd/apmd-3.0.2.ebuild)2
-rw-r--r--sys-apps/apmd/files/apmd.rc66
-rw-r--r--sys-apps/apmd/files/digest-apmd-3.0.2-r1 (renamed from sys-apps/apmd/files/digest-apmd-3.0.2)0
4 files changed, 13 insertions, 5 deletions
diff --git a/sys-apps/apmd/ChangeLog b/sys-apps/apmd/ChangeLog
index f890efb38224..ac06f20fc771 100644
--- a/sys-apps/apmd/ChangeLog
+++ b/sys-apps/apmd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/apmd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/ChangeLog,v 1.1 2002/02/01 21:53:36 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/ChangeLog,v 1.2 2002/03/18 03:28:41 woodchip Exp $
+
+*apmd-3.0.2-r1 (17 March 2002)
+
+ 17 March 2002; Donny Davies <woodchip@gentoo.org> apmd-3.0.2-r1.ebuild,
+ files/apmd.rc6 :
+
+ Fixed initscript booboo which prevented apmd from starting properly. Ooops :)
+ Closes #1143, #1072.
*apmd-3.0.2 (1 Feb 2002)
diff --git a/sys-apps/apmd/apmd-3.0.2.ebuild b/sys-apps/apmd/apmd-3.0.2-r1.ebuild
index b9ebbad7e0e1..781d756d5a5d 100644
--- a/sys-apps/apmd/apmd-3.0.2.ebuild
+++ b/sys-apps/apmd/apmd-3.0.2-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Donny Davies <woodchip@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2.ebuild,v 1.1 2002/02/01 01:09:41 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r1.ebuild,v 1.1 2002/03/18 03:28:41 woodchip Exp $
DESCRIPTION="Advanced Power Management Daemon"
HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/"
diff --git a/sys-apps/apmd/files/apmd.rc6 b/sys-apps/apmd/files/apmd.rc6
index 8fdd56fdd043..e7626da619db 100644
--- a/sys-apps/apmd/files/apmd.rc6
+++ b/sys-apps/apmd/files/apmd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/files/apmd.rc6,v 1.3 2002/02/01 01:09:41 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/files/apmd.rc6,v 1.4 2002/03/18 03:28:41 woodchip Exp $
depend() {
need localmount
@@ -17,8 +17,8 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting apmd"
- start-stop-daemon --start --quiet --exec /usr/sbin/apmd \
- --make-pidfile --pidfile /var/run/apmd.pid -- ${APMD_OPTS}
+ start-stop-daemon --start --quiet --pidfile /var/run/apmd.pid \
+ --startas /usr/sbin/apmd -- ${APMD_OPTS}
eend $?
}
diff --git a/sys-apps/apmd/files/digest-apmd-3.0.2 b/sys-apps/apmd/files/digest-apmd-3.0.2-r1
index 9a9bc483e68a..9a9bc483e68a 100644
--- a/sys-apps/apmd/files/digest-apmd-3.0.2
+++ b/sys-apps/apmd/files/digest-apmd-3.0.2-r1