Changeset 467 in flair-src for trunk/tools/VrpnLite
- Timestamp:
- Mar 9, 2022, 5:44:06 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/VrpnLite/resources/core2-64/vrpnlite.sh
r337 r467 1 1 #! /bin/bash 2 #ARCH_DIR=$(uname -m)3 2 ARCH_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 setenv8 # uav ALL=(root) /opt/flair/flair-bin/tools/scripts/dualshock3.sh9 10 #we must run as root11 if [ $EUID -ne 0 ]; then12 exec sudo -E $0 $*13 fi14 3 15 4 . ${FLAIR_ROOT}/flair-src/scripts/ubuntu_cgroup_hack.sh 16 5 17 export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"18 6 ${FLAIR_ROOT}/flair-install/bin/tools/$ARCH_DIR/vrpnlite -p 9000 -x vrpnlite.xml -s 172.26.213.1:3883 -v 3884 19 7
Note:
See TracChangeset
for help on using the changeset viewer.