]> git.pld-linux.org Git - packages/wine.git/commitdiff
- LSB conformance
authorankry <ankry@pld-linux.org>
Sun, 25 May 2003 16:18:46 +0000 (16:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wine.init -> 1.8

wine.init

index efd6894c3979044c37225a819a79161a73ef88dc..dd69edcc6c246031c17e16871855e231c8024622 100644 (file)
--- a/wine.init
+++ b/wine.init
@@ -17,7 +17,7 @@ BINFMT_DIR='/proc/sys/fs/binfmt_misc'
 
 
 case "$1" in
-  start)
+  start|restart|reload|force-reload)
        if [ ! -f /var/lock/subsys/wine ]; then
                # check if binfmt_misc is not already mounted
                if ! /bin/mount | grep -q "${BINFMT_DIR} type binfmt_misc"; then
@@ -30,7 +30,6 @@ case "$1" in
                touch /var/lock/subsys/wine
        else
                msg_already_running "Wine"
-               exit 1
        fi
        ;;
   stop)
@@ -42,11 +41,14 @@ case "$1" in
                ok
        else
                msg_not_running "Wine"
-               exit 0
        fi
        ;;
+  status)
+       ;;
   *)
-       echo "usage: $0 {start|stop}"
+       msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
+       exit 3
 esac
 
 exit 0
+[A
\ No newline at end of file
This page took 0.036008 seconds and 4 git commands to generate.