#!/bin/bash /opt/reductor_satellite/bin/update.sh /opt/reductor_satellite/bin/filter_checker.sh | while read _ _ _ a _ _ _ _ _ b _ _ _ c _; do echo $(((a+b) * 100 / $c)) | dialog --gauge "Проверка $x" 0 0 done
Прогрессбар для проверки сателлитом
#!/bin/bash /opt/reductor_satellite/bin/update.sh /opt/reductor_satellite/bin/filter_checker.sh | while read _ _ _ a _ _ _ _ _ b _ _ _ c _; do echo $(((a+b) * 100 / $c)) | dialog --gauge "Проверка $x" 0 0 done