From: giovanni Date: Tue, 7 Apr 2009 11:39:52 +0000 (+0000) Subject: small change in doc; some files renamed: umts_backend -> umtsd X-Git-Tag: planetlab-umts-tools-0.6-3~2 X-Git-Url: http://git.onelab.eu/?p=planetlab-umts-tools.git;a=commitdiff_plain;h=8799677d58c4b97cad5ae5b31e3bb3716f366b44 small change in doc; some files renamed: umts_backend -> umtsd --- diff --git a/Makefile b/Makefile index d1caa68..0982715 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ install: install -D umts_functions ${prefix}/usr/lib/umts_functions - install -D umts_backend ${prefix}/vsys/umts_backend + install -D umtsd ${prefix}/vsys/umtsd install -D 96-umts-tools.rules ${prefix}/etc/udev/rules.d/96-umts-tools.rules #install -D umts.init ${prefix}/etc/rc.d/init.d/umts diff --git a/README.PI b/README.PI index fa86e2f..424ed31 100644 --- a/README.PI +++ b/README.PI @@ -10,7 +10,7 @@ way the host environment of the node will get the tools needed to manage the 3G umts/hsdpa interface. Then, you have to add the vsys attribute to the slivers you want to grant the access to the umts/hsdpa interface. The value of this attribute ("vsys") has to be set to -"umts_backend" +"umtsd" Please read README.user for further explanations on how the 3G umts/hsdpa interface is supported. diff --git a/frontend/umts.c b/frontend/umts.c index 1c8dd2c..3f32877 100644 --- a/frontend/umts.c +++ b/frontend/umts.c @@ -45,8 +45,8 @@ char * lock_file="/var/run/umts_lock"; int ret; -char * vsys_in="/vsys/umts_backend.in"; -char * vsys_out="/vsys/umts_backend.out"; +char * vsys_in="/vsys/umtsd.in"; +char * vsys_out="/vsys/umtsd.out"; fd_set set; char lineread[BUFSIZE]; diff --git a/umts-tools-be.spec b/umts-tools-be.spec index 4fa2e03..2829019 100644 --- a/umts-tools-be.spec +++ b/umts-tools-be.spec @@ -50,11 +50,11 @@ sleep 1 #/sbin/chkconfig umts off %files -/vsys/umts_backend +/vsys/umtsd /usr/lib/umts_functions /etc/udev/rules.d/96-umts-tools.rules #/etc/rc.d/init.d/umts -#/etc/chatscripts/vodaphone-it + %defattr(-,root,root) %doc AUTHORS TODO 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 diff --git a/umts_backend b/umtsd similarity index 100% rename from umts_backend rename to umtsd