[debian-edu-commits] r79578 - in branches/wheezy/debian-edu-config/share: debian-edu-config ltsp

sunweaver at alioth.debian.org sunweaver at alioth.debian.org
Mon Apr 1 13:56:51 UTC 2013


Author: sunweaver
Date: 2013-04-01 13:56:51 +0000 (Mon, 01 Apr 2013)
New Revision: 79578

Removed:
   branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_local_mount
   branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_set_runlevel
   branches/wheezy/debian-edu-config/share/ltsp/ltsp_config.d/
Log:
remove obsolete files share/debian-edu-config/ltsp_set_runlevel, share/debian-edu-config/ltsp_local_mount, share/ltsp/ltsp_config.d/* as stated in changelog entry of commit r79505

Deleted: branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_local_mount
===================================================================
--- branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_local_mount	2013-04-01 13:54:10 UTC (rev 79577)
+++ branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_local_mount	2013-04-01 13:56:51 UTC (rev 79578)
@@ -1,54 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides:          ltsp_local_mount
-# Required-Start:    $local_fs
-# Required-Stop:     
-# Should-Start:      ltsp-client-setup
-# X-Start-Before:    $x-display-manager
-# Default-Start:     3
-# Default-Stop:      
-# Short-Description: Make local devices (u)mountable by user
-# Description:       Takes care, that /etc/mtab is writeable, so that
-#                    users can mount and umount local and static devices
-#                    like cdroms.
-### END INIT INFO
-
-case "$1" in
-    start)
-	. /usr/share/ltsp/ltsp-init-common
-	test -z "$tmpfs_dir" && tmpfs_dir=/var/lib/ltsp-client-setup
-
-        # make /etc writeable
-	cd $tmpfs_dir
-
-	# Ignore .git used by etckeeper
-	tar --exclude etc/.git* -cpf - /etc 2> /dev/null | tar xpf -
-
-	# Remove mount points that will be hidden by the new bind
-	# mount of /etc/
-	for f in $(awk '/\/etc\// { print $2}' /proc/mounts | \
-	    sed 's/\\040.*$//') ; do
-	    umount $f
-	done
-
-	mount --bind $tmpfs_dir/etc /etc
-        # create writeable mtab
-	if [ -h /etc/mtab ]; then
-	    rm /etc/mtab && cp /proc/mounts /etc/mtab
-	fi
-        # create cdrom entry in fstab and mountpoint under /media
-	if [ -b /dev/cdrom ]; then
-	    echo "/dev/cdrom /media/cdrom0 udf,iso9660 user,auto 0 0" >>/etc/fstab
-	    mkdir /media/cdrom0 && ln -s /media/cdrom0 /media/cdrom
-	fi
-	if [ -b /dev/cdrom?* ]; then
-	    for CDDEV in $(ls /dev/cdrom?*); do
-		echo "/dev/${CDDEV} /media/${CDDEV} udf,iso9660 user,auto 0 0" >>/etc/fstab
-		mkdir /media/${CDDEV}
-	    done
-	fi
-	;;
-    *) exit 0 ;;
-esac
-
-exit 0

Deleted: branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_set_runlevel
===================================================================
--- branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_set_runlevel	2013-04-01 13:54:10 UTC (rev 79577)
+++ branches/wheezy/debian-edu-config/share/debian-edu-config/ltsp_set_runlevel	2013-04-01 13:56:51 UTC (rev 79578)
@@ -1,42 +0,0 @@
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides:          ltsp_set_runlevel
-# Required-Start:    $remote_fs $all
-# Required-Stop:     $remote_fs $all
-# Should-Start:      console-screen console-setup xfree86-common
-# Default-Start:     S
-# Default-Stop:      
-# Short-Description: Select runlevel for LTSP client at boot time
-# Description:       Based on current IP address, select runlevel
-#                    for the LTSP client at boot time.  This allow it
-#                    to switch dynamically between thin client and
-#                    diskless workstation profile.
-### END INIT INFO
-
-case "$1" in
-    start) ;;
-    *) exit 0 ;;
-esac
-
-# Skip automatic runlevel selection if runlevel is specified on the
-# kernel command line.
-for arg in $(cat /proc/cmdline) ; do
-    case "$arg" in
-	0|1|2|3|4|5|6)
-	    exit 0
-	    ;;
-    esac
-done
-
-IP_ETH=$(/sbin/ifconfig eth0 | sed -ne 's/ *inet addr:\([0-9.]*\) .*/\1/p')
-
-case "$IP_ETH" in
-    10.*)
-	echo "Detected 10.* network.  Selecting diskless workstation LTSP setup."
-	telinit 3 ;;
-    192.*)
-	echo "Detected 192.* network.  Selecting thin client LTSP setup."
-	telinit 4 ;;
-esac
-
-exit 0




More information about the debian-edu-commits mailing list