[arch-commits] Commit in dhcpcd/repos (2 files)

Ronald van Haren ronald at archlinux.org
Tue Nov 8 17:01:50 EST 2011


    Date: Tuesday, November 8, 2011 @ 17:01:50
  Author: ronald
Revision: 142372

archrelease: copy trunk to testing-i686, testing-x86_64

Deleted:
  dhcpcd/repos/testing-i686/remove_ifconfig.patch
  dhcpcd/repos/testing-x86_64/remove_ifconfig.patch

--------------------------------------+
 testing-i686/remove_ifconfig.patch   |   20 --------------------
 testing-x86_64/remove_ifconfig.patch |   20 --------------------
 2 files changed, 40 deletions(-)

Deleted: testing-i686/remove_ifconfig.patch
===================================================================
--- testing-i686/remove_ifconfig.patch	2011-11-08 21:59:50 UTC (rev 142371)
+++ testing-i686/remove_ifconfig.patch	2011-11-08 22:01:50 UTC (rev 142372)
@@ -1,20 +0,0 @@
---- dhcpcd-hooks/10-mtu.orig	2011-11-04 07:45:46.477712667 +0100
-+++ dhcpcd-hooks/10-mtu	2011-11-04 07:46:38.964379550 +0100
-@@ -7,7 +7,7 @@
- elif [ -n "$new_interface_mtu" ] && $if_up; then
- 	# The smalled MTU dhcpcd can work with is 576
- 	if [ "$new_interface_mtu" -ge 576 ]; then
--		if ifconfig "$interface" mtu "$new_interface_mtu"; then
-+		if ip link set "$interface" mtu "$new_interface_mtu"; then
- 			syslog info "$interface: MTU set to $new_interface_mtu"
- 			# Save the MTU so we can restore it later
- 			if [ ! -e "$mtu_dir/$interface" ]; then
-@@ -21,7 +21,7 @@
- 		# No MTU in this state, so restore the prior MTU
- 		mtu=$(cat "$mtu_dir/$interface")
- 		syslog info "$interface: MTU restored to $mtu"
--		ifconfig "$interface" mtu "$mtu"
-+		ip link set "$interface" mtu "$new_interface_mtu"
- 		rm "$mtu_dir/$interface"
- 	fi
- fi

Deleted: testing-x86_64/remove_ifconfig.patch
===================================================================
--- testing-x86_64/remove_ifconfig.patch	2011-11-08 21:59:50 UTC (rev 142371)
+++ testing-x86_64/remove_ifconfig.patch	2011-11-08 22:01:50 UTC (rev 142372)
@@ -1,20 +0,0 @@
---- dhcpcd-hooks/10-mtu.orig	2011-11-04 07:45:46.477712667 +0100
-+++ dhcpcd-hooks/10-mtu	2011-11-04 07:46:38.964379550 +0100
-@@ -7,7 +7,7 @@
- elif [ -n "$new_interface_mtu" ] && $if_up; then
- 	# The smalled MTU dhcpcd can work with is 576
- 	if [ "$new_interface_mtu" -ge 576 ]; then
--		if ifconfig "$interface" mtu "$new_interface_mtu"; then
-+		if ip link set "$interface" mtu "$new_interface_mtu"; then
- 			syslog info "$interface: MTU set to $new_interface_mtu"
- 			# Save the MTU so we can restore it later
- 			if [ ! -e "$mtu_dir/$interface" ]; then
-@@ -21,7 +21,7 @@
- 		# No MTU in this state, so restore the prior MTU
- 		mtu=$(cat "$mtu_dir/$interface")
- 		syslog info "$interface: MTU restored to $mtu"
--		ifconfig "$interface" mtu "$mtu"
-+		ip link set "$interface" mtu "$new_interface_mtu"
- 		rm "$mtu_dir/$interface"
- 	fi
- fi



More information about the arch-commits mailing list