libgsmd, libgsmd-devel: small fixes to gsmd init script
authorPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 26 Oct 2007 11:37:39 +0000 (11:37 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Fri, 26 Oct 2007 11:37:39 +0000 (11:37 +0000)
* fix header, remove superfluous exit statement and correct usage text.

packages/gsm/files/gsmd

index 0ac4698..9257b90 100644 (file)
@@ -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
-