#!/bin/sh
options=""
for x in $(cat /proc/cmdline); do
 case "$x" in
  gl2benchmark=*) options="$(echo ${x#gl2benchmark=}|sed -e 's/^./-&/' -e 's/,/ -/g' -e 's/:/ /g')" ;;
 esac
done
OSG_FILE_PATH=/usr/share/gl2benchmark-data gl2benchmark.bin "$@" $options
