summaryrefslogtreecommitdiffstats
path: root/system/ipheth-driver/ipheth.conf.idevicepair
diff options
context:
space:
mode:
author Marco Bonetti <sid77@slackware.it>2010-08-14 15:52:15 -0400
committer dsomero <xgizzmo@slackbuilds.org>2010-08-14 15:52:15 -0400
commitc7088581e930a8229279e1428fc683a03ce972f5 (patch)
tree841a5d307661ec44d5ff283822303983e24b6ef8 /system/ipheth-driver/ipheth.conf.idevicepair
parent6e01e00a8ac3b0985849bdedfa052d59f5c536f4 (diff)
downloadslackbuilds-c7088581e930a8229279e1428fc683a03ce972f5.tar.gz
slackbuilds-c7088581e930a8229279e1428fc683a03ce972f5.tar.xz
system/ipheth-driver: Added (iPhone USB Ethernet Driver)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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
+