Viitor_dhcp/etc/init/dhcpd.conf

19 lines
424 B
ISCdhcpd
Raw Permalink Normal View History

description "dhcp Daemon (Dynamic host configuration) startup"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started rpc))
stop on runlevel [016]
pre-start script
/sbin/CheckPid /var/run/dhcpd.pid
exit $?
console none
script
if [ -f /etc/sysconfig/dhcp/dhcpd.conf ]; then
/sbin/dhcpd -q -cf /etc/sysconfig/dhcp/dhcpd.conf -f
fi
end script