source: flair-src/trunk/tools/FlairGCS/resources/core2-64/launch_flairgcs.sh@ 467

Last change on this file since 467 was 467, checked in by Sanahuja Guillaume, 3 years ago

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

  • Property svn:executable set to *
File size: 612 bytes
Line 
1#! /bin/sh
2#ARCH_DIR=$(uname -m)
3ARCH_DIR=core2-64
4
5#defaults options values
6PORT=9000
7NAME="FlairGCS"
8
9usage() {
10 USAGE="usage: $0 [-n name] [-p port] [-?]|[-h]"
11 echo $USAGE;
12 exit 1
13}
14
15while getopts h?n:p: OPT; do
16 case $OPT in
17 n) NAME=$OPTARG;;
18 p) PORT=$OPTARG;;
19 h|\?) usage;;
20 esac
21done
22shift `expr $OPTIND - 1`
23
24#bail out in case unknown options remain
25[ "$1" = "--" ] && usage
26
27export FONTCONFIG_PATH=${OECORE_HOST_SYSROOT}/etc/fonts/
28export FONTCONFIG_FILE=${OECORE_HOST_SYSROOT}/etc/fonts/fonts.conf
29$FLAIR_ROOT/flair-install/bin/tools/${ARCH_DIR}/flairgcs -n $NAME -p $PORT
Note: See TracBrowser for help on using the repository browser.