- Add missing '[' to dhclient-script (#459860)
- Correct test statement in add_default_gateway() in dhclient-script (#459860)
This commit is contained in:
parent
a51a2cfd08
commit
f7db77fa1a
@ -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: 21%{?dist}
|
Release: 22%{?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.
|
||||||
@ -440,6 +440,10 @@ fi
|
|||||||
%{_libdir}/libdhcp4client.so
|
%{_libdir}/libdhcp4client.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 24 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-22
|
||||||
|
- Add missing '[' to dhclient-script (#459860)
|
||||||
|
- Correct test statement in add_default_gateway() in dhclient-script (#459860)
|
||||||
|
|
||||||
* Sat Aug 23 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-21
|
* Sat Aug 23 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-21
|
||||||
- Fix syntax error in dhclient-script (#459860)
|
- Fix syntax error in dhclient-script (#459860)
|
||||||
|
|
||||||
|
4
linux
4
linux
@ -183,7 +183,7 @@ add_default_gateway() {
|
|||||||
router="${1}"
|
router="${1}"
|
||||||
metric=""
|
metric=""
|
||||||
|
|
||||||
if [ $# -gt 1 ] && [ "${2}" -gt 0 ]; then
|
if [ $# -gt 1 ] && [ ${2} -gt 0 ]; then
|
||||||
metric="metric ${2}"
|
metric="metric ${2}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ dhconfig() {
|
|||||||
ip -family inet link set dev ${interface} down
|
ip -family inet link set dev ${interface} down
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${REASON}" = "BOUND" ] || "${REASON}" = "REBOOT" ] ||
|
if [ "${reason}" = "BOUND" ] || [ "${reason}" = "REBOOT" ] ||
|
||||||
[ ! "${old_ip_address}" = "${new_ip_address}" ] ||
|
[ ! "${old_ip_address}" = "${new_ip_address}" ] ||
|
||||||
[ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
|
[ ! "${old_subnet_mask}" = "${new_subnet_mask}" ] ||
|
||||||
[ ! "${old_network_number}" = "${new_network_number}" ] ||
|
[ ! "${old_network_number}" = "${new_network_number}" ] ||
|
||||||
|
Loading…
Reference in New Issue
Block a user