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

Last change on this file since 465 was 465, checked in by Sanahuja Guillaume, 2 years ago

resolve font problem: use toolchain font
see:
https://bbs.archlinux.org/viewtopic.php?id=235643

  • Property svn:executable set to *
File size: 696 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
27#export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"
28export FONTCONFIG_PATH=${OECORE_HOST_SYSROOT}/etc/fonts/
29export FONTCONFIG_FILE=${OECORE_HOST_SYSROOT}/etc/fonts/fonts.conf
30$FLAIR_ROOT/flair-install/bin/tools/${ARCH_DIR}/flairgcs -n $NAME -p $PORT
Note: See TracBrowser for help on using the repository browser.