Accepting request 39792 from network:dhcp
checked in (request 39792) OBS-URL: https://build.opensuse.org/request/show/39792 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
b5a2989a08
commit
9446034797
20
rc.dhcrelay
20
rc.dhcrelay
@@ -2,10 +2,8 @@
|
||||
# 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/dhcrelay
|
||||
# and its symbolic link
|
||||
@@ -20,23 +18,23 @@
|
||||
# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: DHCP Relay
|
||||
# Description: Start DHCP (Dynamic Host Configuration Protocol)
|
||||
# relay agent, forwarding DHCP requests from one
|
||||
# physical network segment to another.
|
||||
# Description: Start DHCP (Dynamic Host Configuration Protocol)
|
||||
# gateway, relaying DHCP requests from one
|
||||
# physical network segment to another.
|
||||
### END INIT INFO
|
||||
|
||||
DAEMON="ISC DHCPv4 relay agent"
|
||||
|
||||
test -s /etc/sysconfig/dhcrelay && \
|
||||
. /etc/sysconfig/dhcrelay
|
||||
|
||||
DAEMON="dhcp relay agent"
|
||||
DAEMON_BIN=/usr/sbin/dhcrelay
|
||||
DAEMON_CONF=/etc/sysconfig/dhcrelay
|
||||
DAEMON_PIDFILE=/var/run/dhcrelay.pid
|
||||
STARTPROC_LOGFILE=/var/log/rc.dhcrelay.log
|
||||
SUPPORTS_HUP="no"
|
||||
|
||||
test -s "$DAEMON_CONF" && . "$DAEMON_CONF"
|
||||
test -x $DAEMON_BIN || {
|
||||
echo >&2 "$0: \"$DAEMON_BIN\" is not executable."
|
||||
test "x$1" = xstop && exit 0 || exit 5
|
||||
}
|
||||
test -x $DAEMON_BIN || exit 5
|
||||
|
||||
# Shell functions sourced from /etc/rc.status:
|
||||
# rc_check check and set local and overall rc status
|
||||
|
Reference in New Issue
Block a user