radvd/radvd.init

88 lines
1.9 KiB
Plaintext
Raw Normal View History

auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
#! /bin/sh
#
# $Id: radvd.init,v 1.4 2007/12/01 08:50:16 psavola Exp $
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
#
### BEGIN INIT INFO
# provides: radvd
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
# chkconfig: - 54 46
# short-Description: router advertisement daemon for IPv6
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
# description: radvd is the router advertisement daemon for IPv6. It \
# listens to router solicitations and sends router \
# advertisements as described in "Neighbor Discovery for IP \
# Version 6 (IPv6)" (RFC 2461). With these advertisements \
# hosts can automatically configure their addresses and some \
# other parameters. They also can choose a default router \
# based on these advertisements.
#
# processname: radvd
# pidfile: /var/run/radvd.pid
# config: /etc/radvd.conf
# config: /etc/sysconfig/radvd
### END INIT INFO
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
# Source function library.
. /etc/rc.d/init.d/functions
# Get config.
. /etc/sysconfig/network
[ -f /etc/sysconfig/radvd ] && . /etc/sysconfig/radvd
RETVAL=0
PROG="radvd"
LOCKFILE=/var/lock/subsys/radvd
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
# See how we were called.
case "$1" in
start)
if [ ! -f /etc/radvd.conf ]; then
echo "Configuration file /etc/radvd.conf missing" 1>&2
exit 6
fi
if [ ! -x /usr/sbin/radvd ]; then
echo "Insufficient privilege" 1>&2
exit 4
fi
echo -n $"Starting $prog: "
echo -n $"Starting $PROG: "
daemon radvd $OPTIONS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE
;;
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
stop)
echo -n $"Stopping $PROG: "
killproc radvd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE
;;
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
status)
status radvd
RETVAL=$?
;;
restart)
$0 stop
$0 start
RETVAL=$?
;;
reload)
echo -n $"Reloading $PROG: "
killproc radvd -HUP
RETVAL=$?
echo
;;
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
condrestart)
if [ -f $LOCKFILE ]; then
$0 stop
$0 start
RETVAL=$?
fi
;;
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
*)
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
exit 2
auto-import changelog data from radvd-0.6.2pl4-1.src.rpm Mon Jul 09 2001 Bernhard Rosenkraenzer <bero@redhat.com> - initial Red Hat Linux build Sun Jun 24 2001 Pekka Savola <pekkas@netcore.fi> - add a patch from USAGI for overflow, Copyright -> License. Wed Jun 20 2001 Pekka Savola <pekkas@netcore.fi> - use /sbin/service. - update to 0.6.2pl4. Sat Apr 28 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl3. Wed Apr 11 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.6.2pl2. Wed Apr 04 2001 Pekka Savola <pekkas@netcore.fi> - update to 0.62pl1. Bye bye patches! - Require: initscripts (should really be with a version providing IPv6) - clean up the init script, make condrestart work properly - Use a static /etc/rc.d/init.d; init.d/radvd required it anyway. Sun Apr 01 2001 Pekka Savola <pekkas@netcore.fi> - add patch to chroot (doesn't work well yet, as /proc is used directly) - clean up droproot patch, drop the rights earlier; require user-writable pidfile directory - set up the pidfile directory at compile time. Sat Mar 31 2001 Pekka Savola <pekkas@netcore.fi> - add select/kill signals patch from Nathan Lutchansky <lutchann@litech.org>. - add address syntax checked fix from Marko Myllynen <myllynen@lut.fi>. - add patch to check the pid file before fork. - add support for OPTIONS sourced from /etc/sysconfig/radvd, provide a nice default one. - add/delete radvd user, change the pidfile to /var/run/radvd/radvd.pid. - fix initscript NETWORKING_IPV6 check. Sun Mar 18 2001 Pekka Savola <pekkas@netcore.fi> - add droproot patch, change to nobody by default (should use radvd:radvd or the like, really). Mon Mar 05 2001 Tim Powers <timp@redhat.com> - applied patch supplied by Pekka Savola in #30508 - made changes to initscript as per Pekka's suggestions Thu Feb 15 2001 Tim Powers <timp@redhat.com> - needed -D_GNU_SOURCE to build properly Tue Feb 06 2001 Tim Powers <timp@redhat.com> - use %configure and %makeinstall, just glob the manpages, cleans things up - fixed initscript so that it can be internationalized in the future Fri Feb 02 2001 Pekka Savola <pekkas@netcore.fi> - Create a single package(source) for glibc21 and glibc22 (automatic Requires can handle this just fine). - use %{_mandir} and friends - add more flesh to %doc - streamline %config file %attrs - streamline init.d file a bit: add reload/condrestart minor tweaks localization support (initscripts-5.60) - use %initdir macro Thu Feb 01 2001 Lars Fenneberg <lf@elemental.net> - updated to new release 0.6.2 Thu Feb 01 2001 Marko Myllynen <myllynen@lut.fi> - initial version, radvd version 0.6.1
2004-09-09 11:04:01 +00:00
esac
exit $RETVAL