r40 - unstable/rutilt/debian/patches
benh at alioth.debian.org
benh at alioth.debian.org
Sun Oct 7 22:02:32 UTC 2007
Author: benh
Date: 2007-10-07 22:02:31 +0000 (Sun, 07 Oct 2007)
New Revision: 40
Modified:
unstable/rutilt/debian/patches/012_fix_set_ip.diff
Log:
Chaned patch to call dhclient unconditionally, since there is no alternative.
Modified: unstable/rutilt/debian/patches/012_fix_set_ip.diff
===================================================================
--- unstable/rutilt/debian/patches/012_fix_set_ip.diff 2007-10-07 22:00:16 UTC (rev 39)
+++ unstable/rutilt/debian/patches/012_fix_set_ip.diff 2007-10-07 22:02:31 UTC (rev 40)
@@ -1,14 +1,17 @@
--- rutilt.orig/set_ip.sh
+++ rutilt/set_ip.sh
-@@ -40,10 +40,7 @@
+@@ -39,11 +39,7 @@
+ # WARNING : Always put your static settings above this line.
# No known essid, fallback on DHCP but first kill any previously running
# dhcp client :
- *) if [ -e /sbin/dhclient ]; then
+- *) if [ -e /sbin/dhclient ]; then
- kill `ps -o pid= -C"dhclient $1"`
-+ pkill -f "dhclient $1"
- exec /sbin/dhclient $1
+- exec /sbin/dhclient $1
- else
- kill `ps -o pid= -C"dhcpd $1"`
- exec /sbin/dhcpd $1
- fi;;
+- fi;;
++ *) pkill -f "dhclient $1"
++ exec /sbin/dhclient $1
++ ;;
esac
More information about the Pkg-ralink-commits
mailing list