[oe-commits] org.oe.dev libgsmd, libgsmd-devel: small fixes to gsmd init script

pH5 commit openembedded-commits at lists.openembedded.org
Fri Oct 26 12:03:02 UTC 2007


libgsmd, libgsmd-devel: small fixes to gsmd init script
* fix header, remove superfluous exit statement and correct usage text.

Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: 7e262a520f341c5bce64c8e374e590ead23bfca0
ViewMTN: http://monotone.openembedded.org/revision/info/7e262a520f341c5bce64c8e374e590ead23bfca0
Files:
1
packages/gsm/files/gsmd
Diffs:

#
# mt diff -rbe77f02626c4b2147fc96556d01f2e406131a576 -r7e262a520f341c5bce64c8e374e590ead23bfca0
#
# 
# 
# patch "packages/gsm/files/gsmd"
#  from [0e44967ffb2d602f531bea0cde6006d337dc4cf8]
#    to [a0382c9880f568f23f6fb0fb4ad912ceaab45cc5]
# 
============================================================
--- packages/gsm/files/gsmd	0e44967ffb2d602f531bea0cde6006d337dc4cf8
+++ packages/gsm/files/gsmd	a0382c9880f568f23f6fb0fb4ad912ceaab45cc5
@@ -1,4 +1,4 @@
-##!/bin/sh
+#! /bin/sh
 #
 # gsmd  This shell script starts and stops gsmd.
 #
@@ -37,13 +37,11 @@ case "$1" in
     restart|force-reload)
         $0 stop
         $0 start
-        exit
         ;;
     *)
-        echo "Usage: /etc/init.d/apmd {start|stop|restart|force-reload}"
+        echo "Usage: /etc/init.d/gsmd {start|stop|restart|force-reload}"
         exit 1
         ;;
 esac
 
 exit 0
-






More information about the Openembedded-commits mailing list