commit | 50ea66e963e3ece74195b0125c76d0a883892183 | [log] [download] |
---|---|---|
author | Thorsten Schifferdecker <curx@openvz.org> | Mon Jun 04 14:11:06 2007 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jun 04 14:11:06 2007 +0400 |
tree | ecfdadd81e904b586fc81c800666dbdcb6c57207 | |
parent | 4766d1f711a73e7929530a5a3f50d749e0f9de6a [diff] |
etc/init.d/vz-redhat: remove bashisms: for (( ... )) and let var++ remove bashism : "for ((i = 0; i <= 2; i++)); do" -> "for i in `seq 0 2`; do" "let var++" -> "var=$(($var+1))" [kir@openvz.org: change `seq 0 2` to just 0 1 2; seq is GNU coreutils specific]