#! /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 , 2001 # Marius Tomaschewski , 2010 # # /etc/init.d/dhcrelay # and its symbolic link # /usr/sbin/rcdhcrelay # ### BEGIN INIT INFO # Provides: dhcrelay # 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: DHCP Relay # Description: Start DHCP (Dynamic Host Configuration Protocol) # relay agent, forwarding DHCP requests from one # physical network segment to another. ### END INIT INFO 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 -4 "$@" || exit 1 ;; esac