summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 03:24:16 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 03:24:16 +0000
commit7dd5ae8a34d4c7d128a4dbfddeeeac6e0f32f951 (patch)
treec9a920c2f70fe9d4481cb39babce35d3932ce9a3 /net-mail/teapop/files
parentwe license under gpl2, not gpl2 or later (diff)
downloadhistorical-7dd5ae8a34d4c7d128a4dbfddeeeac6e0f32f951.tar.gz
historical-7dd5ae8a34d4c7d128a4dbfddeeeac6e0f32f951.tar.bz2
historical-7dd5ae8a34d4c7d128a4dbfddeeeac6e0f32f951.zip
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-mail/teapop/files')
-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() {