diff options
author | jcorgan | 2007-10-13 20:50:09 +0000 |
---|---|---|
committer | jcorgan | 2007-10-13 20:50:09 +0000 |
commit | 3d6881a6295a9fc2c292ab0d7ddcc4d8528af318 (patch) | |
tree | a65bc9bcb2536b718289d7e33dcdf15757811480 /debian/libusrp0c2a.postinst | |
parent | 9dd3b1fc59558fc00ac5cf1399b992b5fb8bf74a (diff) | |
download | gnuradio-3d6881a6295a9fc2c292ab0d7ddcc4d8528af318.tar.gz gnuradio-3d6881a6295a9fc2c292ab0d7ddcc4d8528af318.tar.bz2 gnuradio-3d6881a6295a9fc2c292ab0d7ddcc4d8528af318.zip |
Added enabling group 'user' access to USRP hardware into Debian packaging.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6630 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'debian/libusrp0c2a.postinst')
-rw-r--r-- | debian/libusrp0c2a.postinst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/libusrp0c2a.postinst b/debian/libusrp0c2a.postinst new file mode 100644 index 000000000..6ed2f9ebd --- /dev/null +++ b/debian/libusrp0c2a.postinst @@ -0,0 +1,14 @@ +#! /bin/sh + +set -e + +if [ "$1" != "configure" ]; then + exit 0 +fi + +# Create usrp group for udev access +if ! getent group usrp >/dev/null; then + addgroup --system usrp +fi + +exit 0 |