X-Git-Url: http://git.onelab.eu/?p=planetlab-umts-tools.git;a=blobdiff_plain;f=umts_functions;fp=umts_functions;h=e13538c039de7b8c7e61f659434adb9940313b2c;hp=4b89752ac234b445aebdfe65e154db2b9f508247;hb=8799677d58c4b97cad5ae5b31e3bb3716f366b44;hpb=29a8ad81f201bb3c538057dd174c31c9ae551e78 diff --git a/umts_functions b/umts_functions index 4b89752..e13538c 100644 --- a/umts_functions +++ b/umts_functions @@ -9,8 +9,8 @@ PPPD_PIDFILE="/var/run/umts_pppd.pid" DESTS_FILE="/tmp/umts_dest_file" FILE_TEMP_NID="/tmp/umts_temp_nid" FILE_UMTS_INT="/tmp/umts_dev" -LOCK_DIR="/var/run/umts_lock" -FILE_LOCK_SLIVER="/var/run/umts_locking_sliver" +LOCK_DIR="/tmp/umts_lock_d" +FILE_LOCK_SLIVER="/tmp/umts_locking_sliver" PPP_INT="ppp0" PPPD="pppd" CHAT_SCRIPTS="/etc/chatscripts" @@ -121,10 +121,6 @@ function start_umts(){ ATD$NUM CONNECT ''" > $LOGF & - #exec /usr/sbin/pppd nodetach `get_umts_dev` 460800 \ - # 0.0.0.0:0.0.0.0 \ - # connect "/usr/sbin/chat -f ${CHAT_SCRIPTS}/vodaphone-it" > $LOGF & - echo $! > $PPPD_PIDFILE sleep 5s; #waiting for the interface to establish the link