Files
rocm-systems/projects/rdc/authentication/install_client.sh
T

18 lines
349 B
Bash
Raw Normal View History

#!/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
2020-03-20 10:32:25 -05:00
mkdir -p $INSTALL_DIR
cp -R client $INSTALL_DIR
2020-03-20 10:32:25 -05:00
chown -R rdc:rdc $INSTALL_DIR/client