SOURCES: binfmt-detector.init - check register file existence

arekm arekm at pld-linux.org
Wed Mar 28 09:03:48 CEST 2007


Author: arekm                        Date: Wed Mar 28 07:03:48 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- check register file existence

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

---- Diffs:

================================================================
Index: SOURCES/binfmt-detector.init
diff -u SOURCES/binfmt-detector.init:1.4 SOURCES/binfmt-detector.init:1.5
--- SOURCES/binfmt-detector.init:1.4	Wed Mar 28 00:39:44 2007
+++ SOURCES/binfmt-detector.init	Wed Mar 28 09:03:43 2007
@@ -17,7 +17,7 @@
 
 BINFMT_DIR='/proc/sys/fs/binfmt_misc'
 
-[ ! -e "$BINFMT_DIR" ] && exit 0
+[ ! -e "$BINFMT_DIR/register" ] && exit 0
 
 start() {
 	if [ ! -f /var/lock/subsys/binfmt-detector ]; then
================================================================

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



More information about the pld-cvs-commit mailing list