diff options
author | 2002-05-28 00:09:27 +0000 | |
---|---|---|
committer | 2002-05-28 00:09:27 +0000 | |
commit | f4fdffe2a60738a664135eb6516b864f13bb7272 (patch) | |
tree | fba62a9b4213bf45e0b2273d9b73ba69fed93e7d /net-nds/ypbind/files | |
parent | gtk+-1.2.10-r8 masked (diff) | |
download | gentoo-2-f4fdffe2a60738a664135eb6516b864f13bb7272.tar.gz gentoo-2-f4fdffe2a60738a664135eb6516b864f13bb7272.tar.bz2 gentoo-2-f4fdffe2a60738a664135eb6516b864f13bb7272.zip |
Updated ypbind to run after ypserv in the case that the localhost is
the NIS server.
Diffstat (limited to 'net-nds/ypbind/files')
-rw-r--r-- | net-nds/ypbind/files/digest-ypbind-1.11 | 1 | ||||
-rw-r--r-- | net-nds/ypbind/files/ypbind.confd | 5 | ||||
-rw-r--r-- | net-nds/ypbind/files/ypbind.rc6 | 10 |
3 files changed, 11 insertions, 5 deletions
diff --git a/net-nds/ypbind/files/digest-ypbind-1.11 b/net-nds/ypbind/files/digest-ypbind-1.11 new file mode 100644 index 000000000000..091937543226 --- /dev/null +++ b/net-nds/ypbind/files/digest-ypbind-1.11 @@ -0,0 +1 @@ +MD5 c37228a2877a59578227ff9e1b1a060b ypbind-mt-1.11.tar.bz2 143359 diff --git a/net-nds/ypbind/files/ypbind.confd b/net-nds/ypbind/files/ypbind.confd new file mode 100644 index 000000000000..e049624808dd --- /dev/null +++ b/net-nds/ypbind/files/ypbind.confd @@ -0,0 +1,5 @@ +# Config file for /etc/init.d/ypbind + +# NIS domain (not necessary the same as DNS domain) + +#YP_DOMAIN=myYPdomain diff --git a/net-nds/ypbind/files/ypbind.rc6 b/net-nds/ypbind/files/ypbind.rc6 index e17928f50131..9c3933f6d53b 100644 --- a/net-nds/ypbind/files/ypbind.rc6 +++ b/net-nds/ypbind/files/ypbind.rc6 @@ -1,17 +1,17 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.rc6,v 1.2 2001/12/06 20:17:02 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/files/ypbind.rc6,v 1.3 2002/05/28 00:09:27 agriffis Exp $ depend() { need net portmap + use ypserv } checkconfig() { - if [ -z "$YP_DOMAIN" ] ; then - eerror "You need to setup YP_DOMAIN /etc/rc.conf" - return 1 - fi + [ -s "$YP_DOMAIN" ] && return 0 + eerror "You need to setup YP_DOMAIN in /etc/conf.d/ypbind" + return 1 } start() { |