blob: 91b9e11bf8221b0a2114622d8348b8115ec7cc8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
set -e
if [ "$1" != "configure" ]; then
exit 0
fi
# Create usrp group for access
if ! getent group usrp >/dev/null; then
addgroup --system usrp
fi
# Create setuid root for group usrp on socket opener
chown root.usrp /usr/bin/usrp2_socket_opener
chmod 04750 /usr/bin/usrp2_socket_opener
ldconfig
exit 0
|