summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 03:27:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 03:27:48 +0000
commit06468f17cf2527bd0b436a1d32d09b87445bba33 (patch)
treef8c8a37d24de96ae9d1dddef282574fda4066989 /net-mail/teapop
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-06468f17cf2527bd0b436a1d32d09b87445bba33.tar.gz
gentoo-2-06468f17cf2527bd0b436a1d32d09b87445bba33.tar.bz2
gentoo-2-06468f17cf2527bd0b436a1d32d09b87445bba33.zip
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-mail/teapop')
-rw-r--r--net-mail/teapop/files/teapop-init38
1 files changed, 19 insertions, 19 deletions
diff --git a/net-mail/teapop/files/teapop-init b/net-mail/teapop/files/teapop-init
index 31b6facb17b5..c64188913a12 100644
--- a/net-mail/teapop/files/teapop-init
+++ b/net-mail/teapop/files/teapop-init
@@ -1,34 +1,34 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-mail/teapop/files/teapop-init,v 1.1 2003/08/10 15:20:48 iggy Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/teapop/files/teapop-init,v 1.2 2004/03/06 03:24:04 vapier Exp $
depend() {
- need net
- use logger
- after *
+ need net
+ use logger
+ after *
}
checkconfig() {
- if [ ! -e /etc/teapop.passwd ] ; then
- eerror "You need an /etc/teapop.passwd file to run teapop"
- return 1
- fi
+ if [ ! -e /etc/teapop.passwd ] ; then
+ eerror "You need an /etc/teapop.passwd file to run teapop"
+ return 1
+ fi
}
start() {
- checkconfig || return 1
- ebegin "Starting teapop"
- start-stop-daemon --start --quiet \
- --pidfile /var/run/teapop.pid --exec /usr/sbin/teapop -- ${TEAPOP_OPTS}
- eend $?
+ checkconfig || return 1
+ ebegin "Starting teapop"
+ start-stop-daemon --start --quiet \
+ --pidfile /var/run/teapop.pid --exec /usr/sbin/teapop -- ${TEAPOP_OPTS}
+ eend $?
}
stop() {
- ebegin "Stopping teapop"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/teapop.pid --exec /usr/sbin/teapop
- eend $?
+ ebegin "Stopping teapop"
+ start-stop-daemon --stop --quiet \
+ --pidfile /var/run/teapop.pid --exec /usr/sbin/teapop
+ eend $?
}
restart() {