a7fb94589c
Depending on how a user starts rdcd, rdcd will either have
full monitor/control capabilities or have just monitoring
capabilties.
The only 2 user ids allowed are "rdc" and root.
Change-Id: Ie296a2f68c9723bef5945b1af1070ef99eeea93b
[ROCm/rdc commit: a6acf24ae7]
18 regels
349 B
Bash
Executable File
18 regels
349 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Note:
|
|
# * This script should reside in the artifacts directory
|
|
# when executed.
|
|
# * This script may require root privilege
|
|
|
|
if [ $# -lt 1 ]; then
|
|
echo "Need to specify a installation root directory (e.g., /etc/rdc)"
|
|
exit 1
|
|
fi
|
|
|
|
INSTALL_DIR=$1
|
|
mkdir -p $INSTALL_DIR
|
|
cp -R client $INSTALL_DIR
|
|
chown -R rdc:rdc $INSTALL_DIR/client
|
|
|