Soft'N'Design Software
/
projects
/
debian6500.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch configuration for iter mode
[debian6500.git]
/
master
/
opt
/
script
/
check_switches
diff --git
a/master/opt/script/check_switches
b/master/opt/script/check_switches
index c5347c8316736a9586cc14e90212f9caa1991cd9..f98b628496092ad82918a623e8bbf29a31316003 100755
(executable)
--- a/
master/opt/script/check_switches
+++ b/
master/opt/script/check_switches
@@
-43,7
+43,7
@@
while [ $# -gt 0 ]; do
done
# list
done
# list
-[ "$list" ] || list=$(awk '{sub(/#.*/, "")} /sw
[gm]
/ {print $2}' /etc/hosts)
+[ "$list" ] || list=$(awk '{sub(/#.*/, "")} /sw/ {print $2}' /etc/hosts)
list=$(echo $list" ")
# timeout
list=$(echo $list" ")
# timeout