[SCM] Debian Live application startscripts branch, master, updated. 85189905f5ca49359f1e153877dd4c636da39b55

Daniel Baumann daniel at debian.org
Fri Dec 19 18:43:06 UTC 2008


The following commit has been merged in the master branch:
commit aa83a6b9c154cc8d862deeed7f4ffc27d7f83e16
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Dec 19 19:14:31 2008 +0100

    Removing useless whitespaces in live-vmware-player.

diff --git a/initscripts/live-vmware-player b/initscripts/live-vmware-player
index ab97793..3d35914 100755
--- a/initscripts/live-vmware-player
+++ b/initscripts/live-vmware-player
@@ -1,9 +1,9 @@
 #!/bin/sh
 ### BEGIN INIT INFO
 # Provides:          live-vmware-player
-# Required-Start:    
-# Required-Stop:     
-# Default-Start:     
+# Required-Start:
+# Required-Stop:
+# Default-Start:
 # Default-Stop:
 # Short-Description: Setup miscellaneous things for VMWarePlayer.
 # Description:	The script tests for boot parameter of custom_options=ACTION:IMAGEPATH:VMXNAME
@@ -12,16 +12,16 @@
 #		VMXNAME: The name of the VMWare image you want to run.
 # Notes:To use this file with WMWare images you will need to have a few things setup:
 #	1.) The VMWare Player needs to be installed in the image.
-#	2.) This script uses (s|h)da1 for writing image data, and is used as a scratch space. 
+#	2.) This script uses (s|h)da1 for writing image data, and is used as a scratch space.
 #	    This scratch space should be a file system with linux permissions such as ext2.
 #	3.) VMWare image(s) should be in a mounted folder and setup as follows:
 #	    - Image(s) set to snapshot mode.
-#	    - For each image, the image folder needs to have a file called image-release with a 
+#	    - For each image, the image folder needs to have a file called image-release with a
 #	      variable CRELEASE. An example: CRELEASE="1.0.0"
-#             The image-release file is used by the image maintainer and this script to tell 
+#             The image-release file is used by the image maintainer and this script to tell
 #	      workstation(s) using a given image, to erase locally stored vmware image files
 #	      and setup with the newly configure image. The operation of erasing locally stored
-#	      vmare image files, is referred to as a scratch. 
+#	      vmare image files, is referred to as a scratch.
 ### END INIT INFO
 
 PATH=/usr/sbin:/usr/bin:/sbin:/bin
@@ -95,12 +95,12 @@ EOF
 				echo "Checking for a local scratch device." >>/var/log/live-vmware-player.log
 				MOUNTDEV=`fdisk -l | grep a1 | awk '{print $1}'`
 				echo "Potential scratch devices of: $MOUNTDEV" >>/var/log/live-vmware-player.log
-				
+
 				####################################################################################################
 				# Below is where I use a variable named CRELEASE which is sourced in from the image directory.
-				# This file is created by the person managing the images so he can modify an image and all 
+				# This file is created by the person managing the images so he can modify an image and all
 				# workstations using the image will know to auto scratch (erase local snapshot info) on next boot
-				# when the difference is detected between the image mainter variable in image-relase and the 
+				# when the difference is detected between the image mainter variable in image-relase and the
 				# file local-release (with variable RELEASE).
 				####################################################################################################
 				# This is the test for when we want to upgrade an image and deploy to all workstations. Workstations
@@ -112,14 +112,14 @@ EOF
 					echo "******* No image-release found to set the CRELEASE variable! *******" >>/var/log/live-vmware-player.log
 					CRELEASE="NONE"
 				fi
-				
+
 				echo "Preparing VMWare image version $CRELEASE" >>/var/log/live-vmware-player.log
 				echo "Checking for clean scratch file system on $MOUNTDEV!" >>/var/log/live-vmware-player.log
 				fsck -C -a $MOUNTDEV
 
 				echo "Attempting to mount local scratch device." >>/var/log/live-vmware-player.log
 				mount -v $MOUNTDEV /vmware
-				
+
 				echo "Checking to see if scratch was requested at boot." >>/var/log/live-vmware-player.log
 				if [ "$ACTION" = "scratch" ]; then
 					echo "Scratching everything in scratch dir on the fly!" >>/var/log/live-vmware-player.log
@@ -179,5 +179,3 @@ case "$1" in
 	exit 3
 	;;
 esac
-
-

-- 
Debian Live application startscripts



More information about the debian-live-changes mailing list