]> git.pld-linux.org Git - packages/wine.git/commitdiff
- obsoleted by binfmt-detector
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 16 May 2006 18:46:20 +0000 (18:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wine.init -> 1.12

wine.init [deleted file]

diff --git a/wine.init b/wine.init
deleted file mode 100644 (file)
index 91ab6cd..0000000
--- a/wine.init
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# $Id$
-#
-# wine:                Allow users to run Windows(tm) applications by just clicking
-#              on them (or typing ./file.exe)
-#
-# chkconfig:   2345 95 10
-#
-# description: Allow users to run Windows(tm) applications by just clicking \
-#              on them (or typing ./file.exe)
-#
-
-# Source function library
-. /etc/rc.d/init.d/functions
-
-BINFMT_DIR='/proc/sys/fs/binfmt_misc'
-
-
-case "$1" in
-  start|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
-                       /bin/mount none -t binfmt_misc /proc/sys/fs/binfmt_misc
-               fi
-               msg_starting "Wine"
-               echo ':windows:M::MZ::/usr/bin/wine:' > ${BINFMT_DIR}/register
-               echo ':windowsPE:M::PE::/usr/bin/wine:' > ${BINFMT_DIR}/register
-               ok
-               touch /var/lock/subsys/wine
-       else
-               msg_already_running "Wine"
-       fi
-       ;;
-  stop)
-        if [ -f /var/lock/subsys/wine ]; then
-               msg_stopping "Wine"
-               echo "-1" > ${BINFMT_DIR}/windows
-               echo "-1" > ${BINFMT_DIR}/windowsPE
-               rm -f /var/lock/subsys/wine
-               ok
-       else
-               msg_not_running "Wine"
-       fi
-       ;;
-  restart)
-    $0 stop;
-    $0 start;
-       ;;
-  status)
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
-       exit 3
-esac
-
-exit 0
This page took 0.052032 seconds and 4 git commands to generate.