Author: glen                         Date: Mon May 28 20:10:51 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- local vars

---- Files affected:
packages/autossh:
   autossh.init (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/autossh/autossh.init
diff -u packages/autossh/autossh.init:1.2 packages/autossh/autossh.init:1.3
--- packages/autossh/autossh.init:1.2   Mon Feb  6 18:34:29 2012
+++ packages/autossh/autossh.init       Mon May 28 22:10:46 2012
@@ -45,6 +45,7 @@
 
        # Parse autossh.tab file
        # /^[^#$]/ - removes comments, i.e. lines begining with '#' and empty 
lines.
+       local I
        for I in $(awk -vFS=';' '/^[^#$]/ {print $1}' /etc/autossh.tab); do
                msg_starting "autossh $I"
                AUTOSSH_PIDFILE=/var/run/autossh/$I.pid $(awk -vFS=';' 
"-vport=$AUTOSSH_PORT" "/^$I;/ "'{printf("daemon autossh -M%s -fN %s\n", port, 
$2)}' /etc/autossh.tab)
@@ -76,6 +77,7 @@
        fi
 
        msg_reloading autossh
+       local I
        for I in /var/run/autossh/*.pid; do
          killproc --pidfile $I autossh -USR1
        done
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/autossh/autossh.init?r1=1.2&r2=1.3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to