2010-05-14 00:27:05 +02:00
|
|
|
#! /bin/bash
|
|
|
|
# Copyright (c) 1996, 1997, 1998 S.u.S.E. GmbH
|
|
|
|
# Copyright (c) 1998, 1999, 2000, 2001 SuSE GmbH
|
|
|
|
# Copyright (c) 2002, 2003 SuSE Linux AG
|
|
|
|
# Copyright (c) 2004-2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify it under
|
|
|
|
# the terms of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
|
|
# details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License along with
|
|
|
|
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
|
|
|
# Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
# Author: Rolf Haberrecker <rolf@suse.de>, 1997-1999
|
|
|
|
# Peter Poeml <poeml@suse.de>, 2000-2006
|
|
|
|
# Marius Tomaschewski <mt@suse.de>, 2006-2010
|
|
|
|
#
|
|
|
|
# /etc/init.d/dhcp-server
|
|
|
|
# and its symbolic link
|
|
|
|
# /usr/sbin/rcdhcp-server
|
|
|
|
#
|
|
|
|
### BEGIN INIT INFO
|
|
|
|
# Provides: dhcp6-server
|
|
|
|
# Required-Start: $remote_fs $network
|
|
|
|
# Should-Start: network-remotefs $named $syslog $time ldap ndsd
|
|
|
|
# Required-Stop: $remote_fs $network
|
|
|
|
# Should-Stop: network-remotefs $named $syslog ldap ndsd
|
|
|
|
# Default-Start: 3 5
|
|
|
|
# Default-Stop: 0 1 2 6
|
|
|
|
# Short-Description: ISC DHCP 4.x Server
|
|
|
|
# Description: Start ISC DHCP (Dynamic Host Configuration Protocol)
|
|
|
|
# 4.x series server.
|
|
|
|
# (Note: if configured for failover it
|
|
|
|
# needs to rely on time synchronisation.)
|
|
|
|
### END INIT INFO
|
|
|
|
|
2014-02-10 19:14:12 +01:00
|
|
|
test -x /usr/lib/dhcp/dhcpd || exit 5
|
|
|
|
case $1 in
|
|
|
|
start|stop|try-restart|restart|force-reload|reload|status|probe|*)
|
|
|
|
export SCRIPT=${0##*/}
|
|
|
|
exec /usr/lib/dhcp/dhcpd -6 "$@" || exit 1
|
|
|
|
;;
|
2010-05-14 00:27:05 +02:00
|
|
|
esac
|
2014-02-10 19:14:12 +01:00
|
|
|
|