diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 19:02:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-04 19:02:51 +0000 |
commit | c21f0d0efa02b2842434cad4cd00bed199f918b2 (patch) | |
tree | 299e36f70d191f6a0d5900f4fb07b06f7df91a72 /net-analyzer/portmon/files | |
parent | Removed previous development release, please use the latest ebuild instead. (... (diff) | |
download | gentoo-2-c21f0d0efa02b2842434cad4cd00bed199f918b2.tar.gz gentoo-2-c21f0d0efa02b2842434cad4cd00bed199f918b2.tar.bz2 gentoo-2-c21f0d0efa02b2842434cad4cd00bed199f918b2.zip |
gpl2, forget the later
Diffstat (limited to 'net-analyzer/portmon/files')
-rw-r--r-- | net-analyzer/portmon/files/portmon.init | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net-analyzer/portmon/files/portmon.init b/net-analyzer/portmon/files/portmon.init index 0cedcfc67536..9a2a5e410bbf 100644 --- a/net-analyzer/portmon/files/portmon.init +++ b/net-analyzer/portmon/files/portmon.init @@ -1,7 +1,7 @@ #!/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-analyzer/portmon/files/portmon.init,v 1.1 2003/07/29 01:36:45 gregf Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/portmon/files/portmon.init,v 1.2 2004/03/04 19:02:51 vapier Exp $ # configuration is done in /etc/pormon.sh @@ -10,21 +10,21 @@ depend() { } checkconfig() { - if [ ! -e /etc/portmon/portmon.hosts ]; then - error " You need /etc/portmon/portmaon.hosts to run portmon." - return 1 - fi + if [ ! -e /etc/portmon/portmon.hosts ]; then + error " You need /etc/portmon/portmaon.hosts to run portmon." + return 1 + fi } start() { - checkconfig || return 1 - ebegin "Starting portmon" - start-stop-daemon --start --quiet --exec /usr/sbin/portmon -- -d -c /etc/portmon/portmon.hosts - eend $? + checkconfig || return 1 + ebegin "Starting portmon" + start-stop-daemon --start --quiet --exec /usr/sbin/portmon -- -d -c /etc/portmon/portmon.hosts + eend $? } stop() { - checkconfig || return 1 - ebegin "Staring portmon" - start-stop-daemon --stopt --quiet --exec /usr/sbin/portmon + checkconfig || return 1 + ebegin "Staring portmon" + start-stop-daemon --stopt --quiet --exec /usr/sbin/portmon } |