]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
formatting
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2011 19:56:58 +0000 (19:56 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2011 19:56:58 +0000 (19:56 +0000)
svn-id: @12331

rc.d/init.d/functions

index aa68e5dc286d20c3311555e21aed68f346611470..be2f4e1c8d9e7bf3f3b907b48fa7e65d69dee6ca 100644 (file)
@@ -411,9 +411,9 @@ deltext() {
 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_reload() {
 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 @@ _upstart_controlled() {
 }
 
 # 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
This page took 0.094793 seconds and 4 git commands to generate.