#!/bin/sh
# ObexTool startup shell
#
MODEM="/dev/modem"
[ -n "$1" ] && MODEM="$1"
OBEXDIR=/usr/share/obextool
OBEXTOOL_CFG=/etc/obextool
OBEXTCMD="/usr/bin/obexftp -t ${MODEM}"
export OBEXDIR OBEXTOOL_CFG OBEXTCMD
#
# Let's start the ObexTool without memory status
# feature (if no Siemens), using Tk version 8.4 and
# a specific configuration directory /etc/obextool
# and the contributed static compiled obexftp version.
exec /usr/bin/wish $OBEXDIR/obextool.tk --memstat 0
