summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-09 17:25:34 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-09 17:25:34 +0000
commitb3adc9f262998aa513a67b4a045ec3d2c703f610 (patch)
tree41a0170b70a84933be129a2f7d0834cce34dfd1c /net-nds/ypbind/files
parentMarked stable on hppa. (Manifest recommit) (diff)
downloadgentoo-2-b3adc9f262998aa513a67b4a045ec3d2c703f610.tar.gz
gentoo-2-b3adc9f262998aa513a67b4a045ec3d2c703f610.tar.bz2
gentoo-2-b3adc9f262998aa513a67b4a045ec3d2c703f610.zip
Added eends to the init script.
Diffstat (limited to 'net-nds/ypbind/files')
-rw-r--r--net-nds/ypbind/files/ypbind.rc52
-rw-r--r--net-nds/ypbind/files/ypbind.rc64
2 files changed, 5 insertions, 1 deletions
diff --git a/net-nds/ypbind/files/ypbind.rc5 b/net-nds/ypbind/files/ypbind.rc5
index 82de473eecde..231d266ca420 100644
--- a/net-nds/ypbind/files/ypbind.rc5
+++ b/net-nds/ypbind/files/ypbind.rc5
@@ -29,6 +29,8 @@ start() {
if [ $notfound -eq 1 ]
then
eend 1 "No NIS server found"
+ else
+ eend 0
fi
else
eend $? "Error starting ${SERVICE}."
diff --git a/net-nds/ypbind/files/ypbind.rc6 b/net-nds/ypbind/files/ypbind.rc6
index d87cdb0ee73d..7a0add1cca09 100644
--- a/net-nds/ypbind/files/ypbind.rc6
+++ b/net-nds/ypbind/files/ypbind.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.rc6,v 1.6 2004/03/06 03:44:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.rc6,v 1.7 2004/04/09 17:25:34 eradicator Exp $
depend() {
need net portmap
@@ -28,6 +28,8 @@ start() {
done
if [ $notfound -eq 1 ] ; then
eend 1 "No NIS server found"
+ else
+ eend 0
fi
else
eend $?