/etc/init/isc-dhcp-relay.conf is in isc-dhcp-relay 4.2.4-7ubuntu12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | description "ISC DHCP IPv4 relay"
author "Stéphane Graber <stgraber@ubuntu.com>"
start on runlevel [2345]
stop on runlevel [!2345]
pre-start script
if [ ! -f /etc/default/isc-dhcp-relay ]; then
echo "/etc/default/isc-dhcp-relay does not exist! - Aborting..."
echo "Run 'dpkg-reconfigure isc-dhcp-relay' to fix the problem."
stop
exit 0
fi
end script
respawn
script
. /etc/default/isc-dhcp-relay
# Build command line for interfaces (will be passed to dhrelay below.)
IFCMD=""
if test "$INTERFACES" != ""; then
for I in $INTERFACES; do
IFCMD=${IFCMD}"-i "${I}" "
done
fi
exec /usr/sbin/dhcrelay -d -q -4 $OPTIONS $IFCMD $SERVERS
end script
|