1 2 3 4 5 6 7 8 9 |
#!/bin/bash cmd=". /etc/profile; $1; exit;" echo $cmd for i in 1 2 4 7 9 10 11 do ssh -i /root/.ssh/id_rsa 192.168.98.$i $cmd </dev/null done |
1 2 |
sh remote_exec.sh "uci set wireless.@wifi-device[0].isolate=1" sh remote_exec.sh "logread -l 1000|grep bc:cf:cc:74:d0:11" |