Changeset 28 in flair-bin for trunk/tools/scripts/dualshock3.sh
- Timestamp:
- Jul 21, 2016, 5:04:30 PM (9 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/scripts/dualshock3.sh
r27 r28 2 2 ARCH_DIR=$(uname -m) 3 3 4 # $1 is the drone ip 5 if [ "$#" -ne 1 ] ; then 6 echo "Usage: $0 drone_ip_address" 7 exit 1 8 fi 9 10 . ${FLAIR_ROOT}/flair-bin/tools/scripts/ubuntu_cgroup_hack.sh 4 #This script is the only one that calls itself with sudo. 5 #As a consequence, only one exception is needed in sudoers (the following 2 lines) 6 # Defaults!/opt/flair/flair-bin/tools/scripts/dualshock3.sh setenv 7 # uav ALL=(root) /opt/flair/flair-bin/tools/scripts/dualshock3.sh 11 8 12 9 #we must run as root … … 15 12 fi 16 13 14 . ${FLAIR_ROOT}/flair-bin/tools/scripts/ubuntu_cgroup_hack.sh 15 17 16 export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib" 18 ${FLAIR_ROOT}/flair-bin/tools/$ARCH_DIR/unix/dualshock3 -a ${1}:20000 -x ${FLAIR_ROOT}/flair-bin/tools/scripts/dualshock3.xml17 ${FLAIR_ROOT}/flair-bin/tools/$ARCH_DIR/unix/dualshock3 $*
Note:
See TracChangeset
for help on using the changeset viewer.