source: flair-src/tags/0.3.3/tools/VrpnLite/resources/core2-64/vrpnlite.sh@ 451

Last change on this file since 451 was 337, checked in by Sanahuja Guillaume, 5 years ago

maj script

  • Property svn:executable set to *
File size: 653 bytes
Line 
1#! /bin/bash
2#ARCH_DIR=$(uname -m)
3ARCH_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
11if [ $EUID -ne 0 ]; then
12 exec sudo -E $0 $*
13fi
14
15. ${FLAIR_ROOT}/flair-src/scripts/ubuntu_cgroup_hack.sh
16
17export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"
18${FLAIR_ROOT}/flair-install/bin/tools/$ARCH_DIR/vrpnlite -p 9000 -x vrpnlite.xml -s 172.26.213.1:3883 -v 3884
19
Note: See TracBrowser for help on using the repository browser.