2010-05-18 20:37:44 +02:00
|
|
|
#! /bin/sh
|
|
|
|
# Copyright (c) 1996, 1997, 1998 S.u.S.E. GmbH
|
|
|
|
# Copyright (c) 1998, 1999, 2000, 2001 SuSE GmbH
|
|
|
|
# Copyright (c) 2002 SuSE Linux AG
|
|
|
|
# Copyright (c) 2003-2010 SUSE LINUX Products GmbH
|
|
|
|
#
|
|
|
|
# Author: Peter Poeml <poeml@suse.de>, 2001
|
|
|
|
# Marius Tomaschewski <mt@suse.de>, 2010
|
|
|
|
#
|
|
|
|
# /etc/init.d/dhcrelay6
|
|
|
|
# and its symbolic link
|
|
|
|
# /usr/sbin/rcdhcrelay6
|
|
|
|
#
|
|
|
|
### BEGIN INIT INFO
|
|
|
|
# Provides: dhcrelay6
|
|
|
|
# Required-Start: $network $remote_fs network-remotefs
|
|
|
|
# Should-Start: $named $syslog $time
|
|
|
|
# Required-Stop: $network $remote_fs network-remotefs
|
|
|
|
# Should-Stop: $named $syslog
|
|
|
|
# Default-Start: 3 5
|
|
|
|
# Default-Stop: 0 1 2 6
|
|
|
|
# Short-Description: DHCPv6 Relay
|
|
|
|
# Description: Start DHCPv6 (Dynamic Host Configuration Protocol)
|
|
|
|
# relay agent, forwarding DHCP requests from one
|
|
|
|
# physical network segment to another.
|
|
|
|
### END INIT INFO
|
|
|
|
|
2014-02-10 19:14:12 +01:00
|
|
|
test -x /usr/lib/dhcp/dhcrelay || exit 5
|
|
|
|
case $1 in
|
|
|
|
start|stop|try-restart|restart|force-reload|reload|status|probe|*)
|
|
|
|
export SCRIPT=${0##*/}
|
|
|
|
exec /usr/lib/dhcp/dhcrelay -6 "$@" || exit 1
|
|
|
|
;;
|
2010-05-18 20:37:44 +02:00
|
|
|
esac
|
2014-02-10 19:14:12 +01:00
|
|
|
|