r1395 - in trunk/oe/packages/gsm: . files

mickey at sita.openmoko.org mickey at sita.openmoko.org
Sun Mar 18 14:57:40 CET 2007


Author: mickey
Date: 2007-03-18 14:57:39 +0100 (Sun, 18 Mar 2007)
New Revision: 1395

Modified:
   trunk/oe/packages/gsm/files/gsmd
   trunk/oe/packages/gsm/libgsmd_svn.bb
Log:
oe/gsm: fix remainders of gpsd start script. taken from OE upstream


Modified: trunk/oe/packages/gsm/files/gsmd
===================================================================
--- trunk/oe/packages/gsm/files/gsmd	2007-03-17 23:17:44 UTC (rev 1394)
+++ trunk/oe/packages/gsm/files/gsmd	2007-03-18 13:57:39 UTC (rev 1395)
@@ -21,7 +21,7 @@
 start() {
 	# FIXME add check whether GSM_POW is set at all, otherwise don't try to power on
 	# Power on GSM device
-	if [ -e "${GSM_POW} ]
+	if [ -e "${GSM_POW}" ]
 	then
 		echo -n "Powering up GSM device..."
 		echo "1" > ${GSM_POW}
@@ -45,17 +45,17 @@
 	# 2. We don't need all the logging crud that daemon/initlog sets
 	# up -- gsmd does its own syslog calls.
 	#
-	if [ -e "${GPS_DEV}" ]
+	if [ -e "${GSM_DEV}" ]
 	then
 		chown uucp.uucp ${GSM_DEV}
 		mkdir -fp /usr/spool/uucp
 		chown uucp.uucp /usr/spool/uucp
 		stty -F /dev/ttySAC0 crtscts
-		gsmd -p ${GPS_DEV} ${GPSD_OPTS}
+		gsmd -p ${GSM_DEV} ${GSMD_OPTS}
 		echo "success"
 	else
-	    # User needs to symlink ${GPS_DEV} to the right thing
-	    echo "No ${GPS_DEV} device, aborting gsmd startup."
+	    # User needs to symlink ${GSM_DEV} to the right thing
+	    echo "No ${GSM_DEV} device, aborting gsmd startup."
 	fi
 	RETVAL=$?
 	echo

Modified: trunk/oe/packages/gsm/libgsmd_svn.bb
===================================================================
--- trunk/oe/packages/gsm/libgsmd_svn.bb	2007-03-17 23:17:44 UTC (rev 1394)
+++ trunk/oe/packages/gsm/libgsmd_svn.bb	2007-03-18 13:57:39 UTC (rev 1395)
@@ -4,7 +4,7 @@
 SECTION = "libs/gsm"
 PROVIDES += "gsmd"
 PV = "0.0+svn${SRCDATE}"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
            file://gsmd"





More information about the commitlog mailing list