summaryrefslogtreecommitdiff
path: root/system/ipheth-driver/ipheth.conf.idevicepair
diff options
context:
space:
mode:
Diffstat (limited to 'system/ipheth-driver/ipheth.conf.idevicepair')
-rw-r--r--system/ipheth-driver/ipheth.conf.idevicepair8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/ipheth-driver/ipheth.conf.idevicepair b/system/ipheth-driver/ipheth.conf.idevicepair
new file mode 100644
index 0000000000..212dc8c3bd
--- /dev/null
+++ b/system/ipheth-driver/ipheth.conf.idevicepair
@@ -0,0 +1,8 @@
+# iPhone USB Ethernet Driver
+#
+# This configuration forces modprobe to execute device pairing after loading
+# the driver and device unpairing before removing it.
+
+install ipheth /sbin/modprobe --ignore-install ipheth && /usr/bin/idevicepair pair
+remove ipheth /usr/bin/idevicepair unpair && /sbin/modprobe -r --ignore-remove ipheth
+