[debian-edu-commits] r78992 - in trunk/src/debian-edu-config: debian share/debian-edu-config

schweer-guest at alioth.debian.org schweer-guest at alioth.debian.org
Wed Feb 6 16:59:05 UTC 2013


Author: schweer-guest
Date: 2013-02-06 16:59:04 +0000 (Wed, 06 Feb 2013)
New Revision: 78992

Modified:
   trunk/src/debian-edu-config/debian/changelog
   trunk/src/debian-edu-config/share/debian-edu-config/ltsp_local_mount
Log:
* Fix /etc/hosts for LTSP diskless workstations. (Closes: #699880)
* Make ltsp_local_mount script work for multiple devices. 

Modified: trunk/src/debian-edu-config/debian/changelog
===================================================================
--- trunk/src/debian-edu-config/debian/changelog	2013-02-06 09:37:05 UTC (rev 78991)
+++ trunk/src/debian-edu-config/debian/changelog	2013-02-06 16:59:04 UTC (rev 78992)
@@ -1,6 +1,7 @@
 debian-edu-config (1.455~svn78523+nmu1) UNRELEASED; urgency=low
 
-  * Fix /etc/hosts for LTSP diskless workstations (Closes: #699880)
+  * Fix /etc/hosts for LTSP diskless workstations. (Closes: #699880)
+  * Make ltsp_local_mount script work for multiple devices. 
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Wed, 06 Feb 2013 10:34:34 +0100
 

Modified: trunk/src/debian-edu-config/share/debian-edu-config/ltsp_local_mount
===================================================================
--- trunk/src/debian-edu-config/share/debian-edu-config/ltsp_local_mount	2013-02-06 09:37:05 UTC (rev 78991)
+++ trunk/src/debian-edu-config/share/debian-edu-config/ltsp_local_mount	2013-02-06 16:59:04 UTC (rev 78992)
@@ -43,8 +43,8 @@
 	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}
+		echo "${CDDEV} /media/$(basename ${CDDEV}) udf,iso9660 user,auto 0 0" >>/etc/fstab
+		mkdir /media/$(basename ${CDDEV})
 	    done
 	fi
 	;;




More information about the debian-edu-commits mailing list