diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-05-05 15:26:52 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-05-05 15:26:52 +0000 |
commit | db3598ab2bbf1cc9939821961da0a52ab66321db (patch) | |
tree | f562d17a811a8f856e2d25d3964b37dd3452a152 /net-nds/portmap/files | |
parent | Portmap starts now before inetd and xinetd in runlevels. Closes #18189. (diff) | |
download | gentoo-2-db3598ab2bbf1cc9939821961da0a52ab66321db.tar.gz gentoo-2-db3598ab2bbf1cc9939821961da0a52ab66321db.tar.bz2 gentoo-2-db3598ab2bbf1cc9939821961da0a52ab66321db.zip |
Portmap starts now before inetd and xinetd in runlevels. Closes #18189.
Diffstat (limited to 'net-nds/portmap/files')
-rw-r--r-- | net-nds/portmap/files/portmap.rc5 | 28 | ||||
-rw-r--r-- | net-nds/portmap/files/portmap.rc6 | 4 |
2 files changed, 3 insertions, 29 deletions
diff --git a/net-nds/portmap/files/portmap.rc5 b/net-nds/portmap/files/portmap.rc5 deleted file mode 100644 index 2be2a499eea5..000000000000 --- a/net-nds/portmap/files/portmap.rc5 +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -#RCUPDATE:3 4:72:This line is required for script management - -. /etc/rc.d/config/functions - -SERVICE=portmap -EXE="/sbin/portmap" -opts="start stop restart" - -start() { - ebegin "Starting ${SERVICE}" - start-stop-daemon --start --quiet --exec $EXE 1>&2 - eend $? "Error starting ${SERVICE}." -} - -stop() { - ebegin "Stopping ${SERVICE}" - start-stop-daemon --stop --quiet --exec $EXE 1>&2 - eend $? "Error stopping ${SERVICE}." -} - -restart() { - stop - start -} - -doservice ${@} - diff --git a/net-nds/portmap/files/portmap.rc6 b/net-nds/portmap/files/portmap.rc6 index 0c8f083aa036..866f29f67f8d 100644 --- a/net-nds/portmap/files/portmap.rc6 +++ b/net-nds/portmap/files/portmap.rc6 @@ -1,10 +1,12 @@ #!/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-nds/portmap/files/portmap.rc6,v 1.4 2003/02/14 23:08:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/files/portmap.rc6,v 1.5 2003/05/05 15:26:40 mholzer Exp $ depend() { need net + before inetd + before xinetd } start() { |