Ticket #760 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

/etc/default/gsmd: 6: Syntax error

Reported by: cayco@… Owned by: laforge@…
Priority: high Milestone:
Component: gsmd Version: 2007.2
Severity: major Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

While executing:
root@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@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"
GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on"
GSM_DEV="/dev/ttySAC0"
;;

  • "HTC Apache", "HTC Blueangel")

+ "HTC Apache","HTC Blueangel")

GSMD_OPTS="-s 115200 -F"
GSM_DEV="/dev/ttyS0"
;;

Change History

comment:1 Changed 6 years ago by mickey@…

  • Status changed from new to closed
  • Resolution set to fixed

fixed in OpenEmbedded? by using the pipe "|" symbol. Thanks.

Note: See TracTickets for help on using tickets.