[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. 7043d4360f3ccb985622b97b2213b3f362be7614

Steffen Moeller moeller at debian.org
Sun Sep 20 21:40:15 UTC 2009


The following commit has been merged in the master branch:
commit 7043d4360f3ccb985622b97b2213b3f362be7614
Author: Steffen Moeller <moeller at debian.org>
Date:   Sun Sep 20 23:39:11 2009 +0200

    Prevening suspend upon short PWR click
    
    to allow unlock to work.

diff --git a/install.sh b/install.sh
index bde563d..fcde7ee 100755
--- a/install.sh
+++ b/install.sh
@@ -1192,6 +1192,12 @@ __END__
 	fi
 	cat "$INST_DIR"/etc/frameworkd.conf.orig | sed -e 's/^idle_prelock.*/idle_prelock = 0/' -e 's/^lock.*/lock = 0/' > "$INST_DIR"/etc/frameworkd.conf
 
+	echo " * Allow screen unlock to work without shutting off (AUX pressed, followed by Power shortly pressed)"
+	if [ -r "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml ]; then
+		chroot "$INST_DIR" cp /etc/freesmartphone/oevents/rules.yaml /etc/freesmartphone/oevents/rules.yaml.orig
+	fi
+	cat "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml.orig | sed -e '/Suspend Handling/,/Suspend\(\)/ d' > "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml
+
 	echo " * Creating /etc/modules"
 	cat > "$INST_DIR/etc/modules" <<__END__
 # USB RNDIS/Ethernet Gadget

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list