small change in doc; some files renamed: umts_backend -> umtsd
authorgiovanni <giovanni@41d37cc5-eb28-0410-a9bf-d37491348ade>
Tue, 7 Apr 2009 11:39:52 +0000 (11:39 +0000)
committergiovanni <giovanni@41d37cc5-eb28-0410-a9bf-d37491348ade>
Tue, 7 Apr 2009 11:39:52 +0000 (11:39 +0000)
Makefile
README.PI
frontend/umts.c
umts-tools-be.spec
umts_functions
umtsd [moved from umts_backend with 100% similarity]

index d1caa68..0982715 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 install:
        install -D umts_functions ${prefix}/usr/lib/umts_functions
 
 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
 
        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
 
index fa86e2f..424ed31 100644 (file)
--- 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
 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.
 
 Please read README.user for further explanations on how the 3G
 umts/hsdpa interface is supported.
index 1c8dd2c..3f32877 100644 (file)
@@ -45,8 +45,8 @@ char * lock_file="/var/run/umts_lock";
 
 int ret;
 
 
 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];
 
 fd_set set;
 char lineread[BUFSIZE];
index 4fa2e03..2829019 100644 (file)
@@ -50,11 +50,11 @@ sleep 1
 #/sbin/chkconfig umts off
 
 %files
 #/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
 /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
 
 %defattr(-,root,root)
 %doc AUTHORS TODO
index 4b89752..e13538c 100644 (file)
@@ -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"
 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"
 PPP_INT="ppp0"
 PPPD="pppd"
 CHAT_SCRIPTS="/etc/chatscripts"
@@ -121,10 +121,6 @@ function start_umts(){
                ATD$NUM   CONNECT ''" > $LOGF &
 
 
                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
     echo $! > $PPPD_PIDFILE
 
     sleep 5s;  #waiting for the interface to establish the link
similarity index 100%
rename from umts_backend
rename to umtsd