summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2007-08-15 17:54:19 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2007-08-15 17:54:19 +0000
commit19c40cfa69f0a9247257313271b27543a234ab57 (patch)
tree4910de897e240375309c08d6b30ab46ebd8bdd21 /net-nds/ypbind
parentStable on amd64 wrt security bug #188902 (diff)
downloadgentoo-2-19c40cfa69f0a9247257313271b27543a234ab57.tar.gz
gentoo-2-19c40cfa69f0a9247257313271b27543a234ab57.tar.bz2
gentoo-2-19c40cfa69f0a9247257313271b27543a234ab57.zip
Removed bashisms in init script. Closes bug #188778.
(Portage version: 2.1.3.5)
Diffstat (limited to 'net-nds/ypbind')
-rw-r--r--net-nds/ypbind/ChangeLog5
-rw-r--r--net-nds/ypbind/files/ypbind.initd8
2 files changed, 8 insertions, 5 deletions
diff --git a/net-nds/ypbind/ChangeLog b/net-nds/ypbind/ChangeLog
index 99df31aa27bb..5d9d1d27ff39 100644
--- a/net-nds/ypbind/ChangeLog
+++ b/net-nds/ypbind/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-nds/ypbind
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.40 2007/06/12 04:45:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.41 2007/08/15 17:54:19 eradicator Exp $
+
+ 15 Aug 2007; Jeremy Huddleston <eradicator@gentoo.org> files/ypbind.initd:
+ Removed bashisms in init script. Closes bug #188778.
12 Jun 2007; Jeroen Roovers <jer@gentoo.org> ypbind-1.19.1-r1.ebuild:
Marked ~hppa (bug #181672).
diff --git a/net-nds/ypbind/files/ypbind.initd b/net-nds/ypbind/files/ypbind.initd
index 3d363cf2578e..e5c879097b37 100644
--- a/net-nds/ypbind/files/ypbind.initd
+++ b/net-nds/ypbind/files/ypbind.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.initd,v 1.4 2007/05/23 07:20:55 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.initd,v 1.5 2007/08/15 17:54:19 eradicator Exp $
depend() {
need net portmap
@@ -10,19 +10,19 @@ depend() {
start() {
ebegin "Starting ypbind"
- if [[ -n "${YPBIND_OPTS}" ]]; then
+ if [ -n "${YPBIND_OPTS}" ]; then
YOPTS="-- ${YPBIND_OPTS}"
fi
start-stop-daemon --start --quiet --exec /usr/sbin/ypbind ${YOPTS}
local ret=$?
- if [[ $ret -eq 0 ]] ; then
+ if [ $ret -eq 0 ] ; then
notfound=1
for i in 0 1 2 3 4 5 6 7 8 9
do
ypwhich &>/dev/null && { notfound=0; break; }
sleep 1
done
- if [[ $notfound -eq 1 ]] ; then
+ if [ $notfound -eq 1 ] ; then
eend 1 "No NIS server found"
else
eend 0