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)
|
---|
3 | ARCH_DIR=core2-64
|
---|
4 |
|
---|
5 | #defaults options values
|
---|
6 | PORT=9000
|
---|
7 | NAME="FlairGCS"
|
---|
8 |
|
---|
9 | usage() {
|
---|
10 | USAGE="usage: $0 [-n name] [-p port] [-?]|[-h]"
|
---|
11 | echo $USAGE;
|
---|
12 | exit 1
|
---|
13 | }
|
---|
14 |
|
---|
15 | while getopts h?n:p: OPT; do
|
---|
16 | case $OPT in
|
---|
17 | n) NAME=$OPTARG;;
|
---|
18 | p) PORT=$OPTARG;;
|
---|
19 | h|\?) usage;;
|
---|
20 | esac
|
---|
21 | done
|
---|
22 | shift `expr $OPTIND - 1`
|
---|
23 |
|
---|
24 | #bail out in case unknown options remain
|
---|
25 | [ "$1" = "--" ] && usage
|
---|
26 |
|
---|
27 | export FONTCONFIG_PATH=${OECORE_HOST_SYSROOT}/etc/fonts/
|
---|
28 | export 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.