SVN: rc-scripts/trunk/rc.d/init.d/functions

glen glen at pld-linux.org
Fri Aug 19 21:56:58 CEST 2011


Author: glen
Date: Fri Aug 19 21:56:58 2011
New Revision: 12331

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
formatting

Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Fri Aug 19 21:56:58 2011
@@ -411,9 +411,9 @@
 progress() {
 	local COLOR
 	if [ -n "$2" ]; then
-	   	COLOR="$2"
+		COLOR="$2"
 	else
-	   	COLOR="$CDONE"
+		COLOR="$CDONE"
 	fi
 	deltext
 	echo -n "$(termput setaf $CBRACKETS)[$(termput setaf $COLOR) $(nls --nls-domain rc-scripts "$1") $(termput setaf $CBRACKETS)]$(termput op)"
@@ -1268,7 +1268,7 @@
 upstart_status() {
 	# get service status
 	# should be compliant with
-    # http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
+	# http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
 	local service=$1
 	local status
 	if is_upstart_task "${service}" ; then
@@ -1409,7 +1409,7 @@
 }
 
 # Usage:
-#   somewhere at the begining of init script:
+#	somewhere at the begining of init script:
 #     upstart_controlled
 #		- to pass implement all upstart commands via initctl
 #                 start, stop, status, restart, reload and force_reload


More information about the pld-cvs-commit mailing list