Last change
on this file since 18 was 15, checked in by Sanahuja Guillaume, 8 years ago |
ds3
|
-
Property svn:executable
set to
*
|
File size:
472 bytes
|
Rev | Line | |
---|
[15] | 1 | #! /bin/bash
|
---|
| 2 | ARCH_DIR=$(uname -m)
|
---|
| 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-dev/scripts/ubuntu_cgroup_hack.sh
|
---|
| 11 |
|
---|
| 12 | #we must run as root
|
---|
| 13 | if [ $EUID -ne 0 ]; then
|
---|
| 14 | exec sudo -E $0 $*
|
---|
| 15 | fi
|
---|
| 16 |
|
---|
| 17 | 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/$ARCH_DIR/unix/DualShock3.xml
|
---|
Note:
See
TracBrowser
for help on using the repository browser.