Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stty -F $(uci get owrt.alat.devio) 9600
- while true;
- do
- j=0
- cat $(uci get owrt.alat.devio) | while read ligne
- do
- j=$(($j+1))
- if [ $j -gt "1" ]; then
- echo $ligne > /tmp/devio.txt
- logger "raw data alat terkirim"
- fi
- done
- sleep 10
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement