[PATCH] Kill off old display manager scripts

Bernardo Innocenti bernie at codewiz.org
Wed Nov 21 05:36:22 EST 2007


Signed-off-by: Bernardo Innocenti <bernie at codewiz.org>
---
 streams.d/olpc-development.stream |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)

diff --git a/streams.d/olpc-development.stream b/streams.d/olpc-development.stream
index 4caf92f..a7f3365 100755
--- a/streams.d/olpc-development.stream
+++ b/streams.d/olpc-development.stream
@@ -938,35 +938,6 @@ EOF
     echo "  - Setting run level 5 as default"
     perl -i -p -e 's/id:3:initdefault:/id:5:initdefault:/' $INSTALL_ROOT/etc/inittab
 
-    echo "  - Setting up autologin"
-    mkdir -p $INSTALL_ROOT/usr/local/bin
-    cat <<EOF > $INSTALL_ROOT/usr/local/bin/dm
-[ -f /etc/sysconfig/i18n ] && . /etc/sysconfigi18n
-
-if [ -e /sys/devices/platform/dcon/freeze ] ; then
-	echo 0 > /sys/devices/platform/dcon/freeze
-fi
-
-echo -n olpc > /var/run/console/console.lock
-echo -n 1 > /var/run/console/olpc
-/sbin/pam_console_apply
-su - olpc /usr/local/bin/dm-unpriv
-sleep 10
-EOF
-    chmod +x $INSTALL_ROOT/usr/local/bin/dm
-
-    cat <<EOF > $INSTALL_ROOT/usr/local/bin/dm-unpriv
-#!/bin/sh
-exec startx -- -fp built-ins -wr
-EOF
-    chmod +x $INSTALL_ROOT/usr/local/bin/dm-unpriv
-
-    mkdir -p $INSTALL_ROOT/usr/sysconfig
-    cat <<EOF >$INSTALL_ROOT/etc/sysconfig/desktop 
-DISPLAYMANAGER="/usr/local/bin/dm"
-EOF
-
-
     echo "  - Resetting password for root"
     chroot $INSTALL_ROOT /usr/sbin/pwconv
     chroot $INSTALL_ROOT /usr/bin/passwd -d root
-- 
1.5.3.5.561.g140d




More information about the Devel mailing list