ypserv/ypserv-yppasswdd.init

129 lines
2.3 KiB
Plaintext
Raw Normal View History

2010-01-21 18:12:03 +00:00
#!/bin/sh
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
#
2010-01-21 18:12:03 +00:00
# yppasswdd: Starts the YP password changing server
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
#
# Version: @(#) /etc/init.d/yppasswdd 1.0
#
# chkconfig: - 66 34
# description: yppasswdd is the RPC server that lets users change their \
# passwords in the presence of NIS (a.k.a. YP). It must be \
# run on the NIS master server for that NIS domain. The client \
2010-01-21 18:12:03 +00:00
# program is known as yppasswd in most cases.
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
# processname: rpc.yppasswdd
2010-01-21 18:12:03 +00:00
#
# See https://fedoraproject.org/wiki/Packaging:SysVInitScript for
# the guidelines document.
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
# Source function library.
[ -f /etc/rc.d/init.d/functions ] || exit 0
. /etc/rc.d/init.d/functions
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
2010-01-21 18:12:03 +00:00
# getting the YP domain name
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
. /etc/sysconfig/network
2010-01-21 18:12:03 +00:00
execname="rpc.yppasswdd"
exec="/usr/sbin/$execname"
prog="yppasswdd"
# Get the settings
2010-01-21 18:12:03 +00:00
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
lockfile=/var/lock/subsys/$prog
pidfile=/var/run/$prog.pid
if [ "$ETCDIR" ]; then
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -D $ETCDIR"
fi
if [ "$PASSWDFILE" ]; then
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -p $PASSWDFILE"
fi
if [ "$SHADOWFILE" ]; then
YPPASSWDD_ARGS="$YPPASSWDD_ARGS -s $SHADOWFILE"
fi
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
start() {
2010-01-21 18:12:03 +00:00
[ $UID -eq 0 ] || exit 4
[ -x $exec ] || exit 5
echo -n $"Starting YP passwd service: "
daemon --pidfile=$pidfile $exec $YPPASSWDD_ARGS
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
}
stop() {
2010-01-21 18:12:03 +00:00
[ $UID -eq 0 ] || exit 4
[ -x $exec ] || exit 5
echo -n $"Stopping YP passwd service: "
killproc -p $pidfile $execname
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status -p $pidfile -l $prog $execname
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
usage() {
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
}
# See how we were called.
case "$1" in
2010-01-21 18:12:03 +00:00
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
;;
2010-01-21 18:12:03 +00:00
reload)
rh_status_q || exit 7
$1
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
;;
2010-01-21 18:12:03 +00:00
force-reload)
force_reload
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
;;
2010-01-21 18:12:03 +00:00
status)
rh_status
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
;;
2010-01-21 18:12:03 +00:00
condrestart|try-restart)
rh_status_q || exit 0
restart
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
;;
2010-01-21 18:12:03 +00:00
usage)
$1
;;
*)
usage
exit 2
auto-import changelog data from ypserv-1.3.11-9.src.rpm Wed Aug 16 2000 Than Ngo <than@redhat.com> - fix typo in startup script (Bug #15999) Wed Jul 19 2000 Than Ngo <than@redhat.de> - inits back to rc.d/init.d, using service - fix initscript again Mon Jul 17 2000 Bill Nottingham <notting@redhat.com> - move initscript back - fix format syslog bug Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - prereq /etc/init.d Tue Jun 27 2000 Than Ngo <than@redhat.de> - /etc/rc.d/init.d -> /etc/init.d - fix initscript Sun Jun 18 2000 Than Ngo <than@redhat.de> - FHS fixes, - fix docdir Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> - disable "netgrp" target in default all: (/var/yp/Makefile) Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com> - update to 1.3.11 Mon Mar 06 2000 Cristian Gafton <gafton@redhat.com> - add patch to avoid potential deadlock on the server (fix #9968) Wed Feb 02 2000 Florian La Roche <Florian.LaRoche@redhat.com> - fix typo in %triggerpostun Mon Oct 25 1999 Bill Nottingham <notting@redhat.com> - update to 1.3.9 - use gdbm, move back to /usr/sbin Tue Aug 17 1999 Bill Nottingham <notting@redhat.com> - initscript munging - ypserv goes on root partition Fri Aug 13 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.7 Thu Jul 01 1999 Bill Nottingham <notting@redhat.com> - start after network FS Tue Jun 01 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.94. Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - improved daemonization. Sat May 29 1999 Jeff Johnson <jbj@redhat.com> - fix buffer overflow in rpc.yppasswd (#3126). Fri May 28 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.6.92. Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - version 1.3.6.91 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 4) Mon Feb 08 1999 Bill Nottingham <notting@redhat.com> - move to start before ypbind Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 - upgraded to 1.3.5 Tue Aug 04 1998 Jeff Johnson <jbj@redhat.com> - yppasswd.init: lock file must have same name as init.d script, not daemon Sat Jul 11 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.4 - fixed the fubared Makefile - link against gdbm instead of ndbm (it seems to work better) Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 1.3.1 - enhanced init scripts Fri May 01 1998 Jeff Johnson <jbj@redhat.com> - added triggerpostun - Use libdb fro dbp_*(). Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> - updated to 1.3.0 Wed Dec 03 1997 Cristian Gafton <gafton@redhat.com> - updated to 1.2.5 - added buildroot; updated spec file - added yppasswdd init file Tue Nov 04 1997 Erik Troan <ewt@redhat.com> - init script shouldn't set the domain name Tue Oct 14 1997 Erik Troan <ewt@redhat.com> - supports chkconfig - updated initscript for status and restart - turned off in all runlevels, by default - removed postinstall script which didn't do anything Thu Oct 09 1997 Erik Troan <ewt@redhat.com> - added patch to build against later glibc Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Wed Apr 23 1997 Erik Troan <ewt@redhat.com> - updated to 1.1.7. Fri Mar 14 1997 Erik Troan <ewt@redhat.com> - Updated to ypserv 1.1.5, ported to Alpha (glibc). Fri Mar 07 1997 Erik Troan <ewt@redhat.com> - Removed -pedantic which confuses the SPARC :-(
2004-09-09 15:13:01 +00:00
esac
2010-01-21 18:12:03 +00:00
exit $?