From 5ec7582a5caf78da13834a40ebabfb0d246766ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 29 Mar 2007 15:55:27 +0000 Subject: [PATCH] - revert; it's more broken Changed files: binfmt-detector.init -> 1.6 --- binfmt-detector.init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/binfmt-detector.init b/binfmt-detector.init index c5c7033..b1e8ed5 100644 --- a/binfmt-detector.init +++ b/binfmt-detector.init @@ -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 -- 2.44.0