Compare commits
No commits in common. "v963" and "v961" have entirely different histories.
4
etc/dhclient.conf.sample
Normal file
4
etc/dhclient.conf.sample
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
send host-name "_hostname_of_the_machine_";
|
||||||
|
send fqdn.fqdn "_hostname_of_the_machine.fqdn.";
|
||||||
|
send fqdn.encoded on;
|
||||||
|
send fqdn.server-update off;
|
@ -1,18 +0,0 @@
|
|||||||
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
|
|
@ -21,7 +21,6 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -d /var/install/sysvinit* ]; then
|
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
for i in *; do
|
for i in *; do
|
||||||
@ -41,5 +40,4 @@ if [ -d /var/install/sysvinit* ]; then
|
|||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
cd $WDIR
|
cd $WDIR
|
||||||
fi
|
|
||||||
mkdir -p etc/sysconfig/dhcp
|
mkdir -p etc/sysconfig/dhcp
|
||||||
|
Loading…
Reference in New Issue
Block a user