- Remove instaces of \032 in domain search option (#450042)
- Make 'service dhcpd configtest' display text indicating the status
This commit is contained in:
parent
ea7085d2ef
commit
821e00dcda
@ -4,7 +4,7 @@
|
|||||||
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
|
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.0.0
|
Version: 4.0.0
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
# dcantrell maintaining the package) made incorrect use of the epoch and
|
||||||
# that's why it is at 12 now. It should have never been used, but it was.
|
# that's why it is at 12 now. It should have never been used, but it was.
|
||||||
@ -422,6 +422,10 @@ fi
|
|||||||
%{_libdir}/libdhcp4client.so
|
%{_libdir}/libdhcp4client.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 21 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-16
|
||||||
|
- Remove instaces of \032 in domain search option (#450042)
|
||||||
|
- Make 'service dhcpd configtest' display text indicating the status
|
||||||
|
|
||||||
* Fri May 16 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-15
|
* Fri May 16 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-15
|
||||||
- Set close-on-exec on dhclient.leases for SELinux (#446632)
|
- Set close-on-exec on dhclient.leases for SELinux (#446632)
|
||||||
|
|
||||||
|
@ -62,6 +62,11 @@ configtest() {
|
|||||||
[ -f $conf ] || return 6
|
[ -f $conf ] || return 6
|
||||||
$dhcpd -q -t -cf $conf
|
$dhcpd -q -t -cf $conf
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
|
if [ $RETVAL -eq 1 ]; then
|
||||||
|
$dhcpd -t -cf $conf
|
||||||
|
else
|
||||||
|
echo "Syntax: OK" >&2
|
||||||
|
fi
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4
linux
4
linux
@ -48,10 +48,10 @@ make_resolv_conf() {
|
|||||||
echo '; generated by /sbin/dhclient-script' > $rscf
|
echo '; generated by /sbin/dhclient-script' > $rscf
|
||||||
|
|
||||||
if [ -n "$new_domain_search" ]; then
|
if [ -n "$new_domain_search" ]; then
|
||||||
echo search $new_domain_search >> $rscf
|
echo "search ${new_domain_search//\\032/ }" >> $rscf
|
||||||
else
|
else
|
||||||
if [ -n "$new_domain_name" ]; then
|
if [ -n "$new_domain_name" ]; then
|
||||||
echo search $new_domain_name >> $rscf
|
echo "search ${new_domain_name//\\032/ }" >> $rscf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user