ipheth/ipheth-0.0.git20120515-run-ideviceinfo.patch

11 lines
543 B
Diff

diff -Nru ipheth.orig/ipheth-pair/90-iphone-tether.rules ipheth/ipheth-pair/90-iphone-tether.rules
--- ipheth.orig/ipheth-pair/90-iphone-tether.rules 2012-05-15 14:33:54.000000000 +0200
+++ ipheth/ipheth-pair/90-iphone-tether.rules 2012-05-15 14:54:17.558763977 +0200
@@ -3,5 +3,6 @@
# Execute pairing program when appropriate
ACTION=="add", SUBSYSTEM=="net", ENV{ID_USB_DRIVER}=="ipheth", SYMLINK+="iphone", RUN+="ipheth-pair"
+ACTION=="add", SUBSYSTEM=="net", ENV{ID_USB_DRIVER}=="ipheth", RUN+="ideviceinfo"
LABEL="ipheth_rules_end"