summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2006-06-14 16:52:08 +0000
committerTony Vroon <chainsaw@gentoo.org>2006-06-14 16:52:08 +0000
commit99fc57a8a24ef92528032f2afad4774202ade8e3 (patch)
tree03d14349da2e2e8fe4a50ccc762de7e4a8bc8b19 /net-dialup/sendpage/files/sendpage.initd
parentStable on ppc; bug 136708 (diff)
downloadgentoo-2-99fc57a8a24ef92528032f2afad4774202ade8e3.tar.gz
gentoo-2-99fc57a8a24ef92528032f2afad4774202ade8e3.tar.bz2
gentoo-2-99fc57a8a24ef92528032f2afad4774202ade8e3.zip
Version bump, ~amd64 keywording. Init script by me, makefile patch by mcummings.
(Portage version: 2.1)
Diffstat (limited to 'net-dialup/sendpage/files/sendpage.initd')
-rw-r--r--net-dialup/sendpage/files/sendpage.initd22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dialup/sendpage/files/sendpage.initd b/net-dialup/sendpage/files/sendpage.initd
new file mode 100644
index 000000000000..418cdbb625bc
--- /dev/null
+++ b/net-dialup/sendpage/files/sendpage.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/files/sendpage.initd,v 1.1 2006/06/14 16:52:08 chainsaw Exp $
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting sendpage"
+ start-stop-daemon --start --exec /usr/bin/sendpage -- \
+ -bd
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping sendpage"
+ start-stop-daemon --stop -p /var/run/sendpage.pid
+ eend ${?}
+}
+