On Thu, Oct 15, 2009 at 04:38:03PM +0200, René Hummen wrote: > --- trunk/tools/trigger-demo-update.sh Thu Oct 15 16:22:16 2009 > (r1174) > +++ trunk/tools/trigger-demo-update.sh Thu Oct 15 16:38:03 2009 > (r1175) > @@ -1,11 +1,16 @@ > -#!/bin/sh > +#!/bin/bash > > # This script was written for the demo in Oct/Nov 2009 > # It is supposed to be used in combination with pisabeacon > > -HIPCONF=$HOME"/pisa_testbed/hipconf" > -GEO_URL="http://mobile-access-demo:8080/setPos/"; > -WIFI_IF="wlan0" > +# read config file > +if [ ! -e "$PWD/pisa_scripts.conf" ] > +then > + echo "ERROR: "$PWD"/pisa_scripts.conf not found!" > + exit 1 > +fi > + > +source $PWD"/pisa_scripts.conf" > > # check for curl > if which curl >/dev/null; then > @@ -24,7 +29,7 @@ > > update_hip () > { > -$HIPCONF manual-update $WIFI_IF > +$HIPCONF_CMD manual-update $WIFI_IF HIPCONF_CMD is never set... Has this ever worked? Diego