summaryrefslogtreecommitdiffstats
path: root/host/cmake/debian/postinst.in
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/debian/postinst.in
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/debian/postinst.in')
-rwxr-xr-xhost/cmake/debian/postinst.in3
1 files changed, 2 insertions, 1 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