switch configuration for iter mode
[debian6500.git] / master / opt / script / check_switches
index c5347c8316736a9586cc14e90212f9caa1991cd9..f98b628496092ad82918a623e8bbf29a31316003 100755 (executable)
@@ -43,7 +43,7 @@ while [ $# -gt 0 ]; do
 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