aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-09-11 09:23:41 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-09-11 09:23:41 -0700
commitc2c938830619090a5eb7bde16815023a93ffbbb5 (patch)
tree53d55f61495be759935b736a72685056ef754920 /host/cmake
parent429462742e83a277962db221cede7426ea17c6ca (diff)
downloaduhd-c2c938830619090a5eb7bde16815023a93ffbbb5.tar.gz
uhd-c2c938830619090a5eb7bde16815023a93ffbbb5.tar.bz2
uhd-c2c938830619090a5eb7bde16815023a93ffbbb5.zip
Fixed references to Linux USB permissions commands
* 'sudo udevadm trigger' needs to be run after reloading rules
Diffstat (limited to 'host/cmake')
-rwxr-xr-xhost/cmake/debian/postinst.in3
-rwxr-xr-xhost/cmake/redhat/post_install.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/host/cmake/debian/postinst.in b/host/cmake/debian/postinst.in
index eaca15394..6c6594b91 100755
--- a/host/cmake/debian/postinst.in
+++ b/host/cmake/debian/postinst.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2011 Ettus Research LLC
+# Copyright 2011,2013 Ettus Research LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,5 +19,6 @@
if [ "$1" = "configure" ]; then
cp @CMAKE_INSTALL_PREFIX@/share/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 01fd3338f..b5622ec59 100755
--- a/host/cmake/redhat/post_install.in
+++ b/host/cmake/redhat/post_install.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2011 Ettus Research LLC
+# Copyright 2011,2013 Ettus Research LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,4 +18,5 @@
cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
+udevadm trigger
ldconfig