Changeset 467 in flair-src for trunk/tools/VrpnLite


Ignore:
Timestamp:
03/09/22 17:44:06 (2 years ago)
Author:
Sanahuja Guillaume
Message:

change default usb method for ds3, now input event, no need to be root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnLite/resources/core2-64/vrpnlite.sh

    r337 r467  
    11#! /bin/bash
    2 #ARCH_DIR=$(uname -m)
    32ARCH_DIR=core2-64
    4 
    5 #This script is the only one that calls itself with sudo.
    6 #As a consequence, only one exception is needed in sudoers (the following 2 lines)
    7 #  Defaults!/opt/flair/flair-bin/tools/scripts/dualshock3.sh setenv
    8 #  uav ALL=(root) /opt/flair/flair-bin/tools/scripts/dualshock3.sh
    9 
    10 #we must run as root
    11 if [ $EUID -ne 0 ]; then
    12   exec sudo -E $0 $*
    13 fi
    143
    154. ${FLAIR_ROOT}/flair-src/scripts/ubuntu_cgroup_hack.sh
    165
    17 export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"
    186${FLAIR_ROOT}/flair-install/bin/tools/$ARCH_DIR/vrpnlite -p 9000 -x vrpnlite.xml -s 172.26.213.1:3883 -v 3884
    197
Note: See TracChangeset for help on using the changeset viewer.