summaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake')
-rwxr-xr-xhost/cmake/debian/postinst.in1
-rwxr-xr-xhost/cmake/redhat/post_install.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/host/cmake/debian/postinst.in b/host/cmake/debian/postinst.in
index bc27c46f0..3991992ee 100755
--- a/host/cmake/debian/postinst.in
+++ b/host/cmake/debian/postinst.in
@@ -19,5 +19,6 @@
if [ "$1" = "configure" ]; then
cp @CMAKE_INSTALL_PREFIX@/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
+ udevadm trigger
ldconfig
fi
diff --git a/host/cmake/redhat/post_install.in b/host/cmake/redhat/post_install.in
index 25864e0ec..9608a282d 100755
--- a/host/cmake/redhat/post_install.in
+++ b/host/cmake/redhat/post_install.in
@@ -18,4 +18,5 @@
cp @CMAKE_INSTALL_PREFIX@/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
+udevadm trigger
ldconfig