SOURCES: binfmt-detector.init - revert; it's more broken

arekm arekm at pld-linux.org
Thu Mar 29 17:55:33 CEST 2007


Author: arekm                        Date: Thu Mar 29 15:55:33 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- revert; it's more broken

---- Files affected:
SOURCES:
   binfmt-detector.init (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/binfmt-detector.init
diff -u SOURCES/binfmt-detector.init:1.5 SOURCES/binfmt-detector.init:1.6
--- SOURCES/binfmt-detector.init:1.5	Wed Mar 28 09:03:43 2007
+++ SOURCES/binfmt-detector.init	Thu Mar 29 17:55:27 2007
@@ -17,15 +17,13 @@
 
 BINFMT_DIR='/proc/sys/fs/binfmt_misc'
 
-[ ! -e "$BINFMT_DIR/register" ] && exit 0
-
 start() {
 	if [ ! -f /var/lock/subsys/binfmt-detector ]; 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 ${BINFMT_DIR}
 		fi
-		msg_starting 'binfmt-detector'
+		msg_starting 'binfmt-detector'/proc/sys/fs/binfmt_misc
 		echo ':windows:M::MZ::/usr/bin/binfmt-detector.sh:' > ${BINFMT_DIR}/register
 		echo ':windowsPE:M::PE::/usr/bin/binfmt-detector.sh:' > ${BINFMT_DIR}/register
 		ok
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/binfmt-detector.init?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list