[Bug 760] New: /etc/default/gsmd: 6: Syntax error

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Mon Aug 27 13:59:03 CEST 2007


           Summary: /etc/default/gsmd: 6: Syntax error
           Product: OpenMoko
           Version: 2007.2
          Platform: Neo1973
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: gsmd
        AssignedTo: laforge at openmoko.org
        ReportedBy: cayco at cayco.pl
                CC: buglog at lists.openmoko.org

While executing:
root at fic-gta01:~$ /etc/init.d/gsmd stop

I got

/etc/init.d/gsmd: /etc/default/gsmd: 6: Syntax error: word unexpected (expecting

Mentioned file:

root at fic-gta01:~$ head /etc/default/gsmd
# gsmd  This shell script configures for the gsmd init script.

. /etc/init.d/functions

case `cpuinfo_id` in
        "GTA01", "GTA02")

Patch to fix this:

--- /etc/default/gsmd.orig      Thu Aug 23 22:33:58 2007
+++ /etc/default/gsmd   Thu Aug 23 22:34:17 2007
@@ -3,12 +3,12 @@
 . /etc/init.d/functions

 case `cpuinfo_id` in
-       "GTA01", "GTA02")
+       "GTA01","GTA02")
                GSMD_OPTS="-s 115200 -F"
-       "HTC Apache", "HTC Blueangel")
+       "HTC Apache","HTC Blueangel")
                GSMD_OPTS="-s 115200 -F"

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list