diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2010-06-07 10:24:43 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2010-07-11 20:23:46 -0500 |
commit | 9390083d675e1fd5059ab35d9977bf84b7d87ba2 (patch) | |
tree | ec56dd94809b4f40f2f10f98c1116d0a8d399693 /rc.sysinit | |
parent | e74e3cf9d545885cc587ede9fd157c39d4d9a324 (diff) | |
download | initscripts-9390083d675e1fd5059ab35d9977bf84b7d87ba2.tar.xz |
Both rc.single and rc.shutdown use the same code to kill everything.
Simplify it, and move that shared code into functions.
Parsing the output of ls is Bad, especially when globbing works just as well
and does not get confused by odd characters in filenames.
bash has arithemetic for loops. Use them instead of while loops for iterating
over arrays.
Diffstat (limited to 'rc.sysinit')
0 files changed, 0 insertions, 0 deletions