/usr/bin/gmtkbabel is in gmtkbabel 0.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | #!/bin/sh
# Copyright © 2010, David Paleino <d.paleino@gmail.com>
#
# Released under 3-clause BSD license; see COPYING for details.
. /usr/share/gmtkbabel/common.sh
# ****** Strings ************************************************************* #
S_TITLE="`gettext \"iBlue 747 manager\"`"
S_TEXT="`gettext \"Select what to do\"`"
S_PRESET_TITLE="`gettext \"Action\"`"
S_DOWNLOAD="`gettext \"Download data from the logger\"`"
S_ERASE="`gettext \"Erase data in the logger\"`"
S_SETFORMAT="`gettext \"Set logging format\"`"
S_SETFREQUENCY="`gettext \"Set logging frequency\"`"
# ****** Script (do not edit below this point) ******************************* #
while [ 1 = 1 ]; do
WHAT=`zenity --list --title="$S_TITLE" --text="$S_TEXT" \
--column "$S_PRESET_TITLE" \
"$S_DOWNLOAD" \
"$S_ERASE" \
"$S_SETFORMAT" \
"$S_SETFREQUENCY" `
case "$WHAT" in
"$S_DOWNLOAD" )
if [ -r download.sh ]; then
./download.sh
elif [ -r /usr/share/gmtkbabel/download.sh ]; then
exec sh /usr/share/gmtkbabel/download.sh
fi
;;
"$S_ERASE" )
if [ -r erase.sh ]; then
./erase.sh
elif [ -r /usr/share/gmtkbabel/erase.sh ]; then
exec sh /usr/share/gmtkbabel/erase.sh
fi
;;
"$S_SETFORMAT" )
if [ -r set_format.sh ]; then
./set_format.sh
elif [ -r /usr/share/gmtkbabel/set_format.sh ]; then
exec sh /usr/share/gmtkbabel/set_format.sh
fi
;;
"$S_SETFREQUENCY" )
if [ -r set_frequency.sh ]; then
./set_frequency.sh
elif [ -r /usr/share/gmtkbabel/set_frequency.sh ]; then
exec sh /usr/share/gmtkbabel/set_frequency.sh
fi
;;
* )
break 2
;;
esac
done
|