aboutsummaryrefslogtreecommitdiff
path: root/system/scangearmp2/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/scangearmp2/doinst.sh')
-rw-r--r--system/scangearmp2/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/scangearmp2/doinst.sh b/system/scangearmp2/doinst.sh
new file mode 100644
index 0000000000000..29048cbbada64
--- /dev/null
+++ b/system/scangearmp2/doinst.sh
@@ -0,0 +1,5 @@
+# reload udev rules
+if [ -x /sbin/udevadm ]; then
+ /sbin/udevadm control --reload-rules 2> /dev/null
+ /sbin/udevadm trigger --action=add --subsystem-match=usb 2> /dev/null
+fi