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

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


The following commit has been merged in the master branch:
commit 0ded4f8ec2522cded37cce3ff907713ec9bcb428
Author: Steffen Moeller <moeller at debian.org>
Date:   Sun Sep 20 23:19:08 2009 +0200

    No locking of screen
    
    Following Erich's suggestion on how to precent the screen from being locked.
    This should become configurable soon.

diff --git a/install.sh b/install.sh
index c765729..bde563d 100755
--- a/install.sh
+++ b/install.sh
@@ -1185,6 +1185,13 @@ po::powerokwait:/etc/init.d/powerfail stop
 #6:23:respawn:/sbin/getty 38400 tty6
 __END__
 
+
+	echo " * Disabling automated screen lock " # FIXME: should become optional
+	if [ -r "$INST_DIR"/etc/frameworkd.conf.orig ]; then
+		chroot "$INST_DIR" cp /etc/frameworkd.conf /etc/frameworkd.conf.orig
+	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 " * 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