Skip to content

Commit

Permalink
qzeleza#234 оформление
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGrF13 authored and AltGrF13 committed Jan 7, 2025
1 parent 7ebf1fc commit b505327
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions opt/bin/main/setup
Original file line number Diff line number Diff line change
Expand Up @@ -828,16 +828,16 @@ cmd_uninstall() {

list__backup

ready "Удаляем пакет Квас..."
ready 'Удаляем пакет Квас...'
opkg remove kvas --autoremove &> /dev/null
when_ok "УСПЕШНО"
when_ok 'УСПЕШНО'

ready "Удаляем файлы конфигурации..."
rm_package_files "${rm_type}" &> /dev/null && when_ok "УСПЕШНО" || when_bad "ОШИБКА"
ready 'Удаляем файлы конфигурации...'
rm_package_files "${rm_type}" &> /dev/null && when_ok 'УСПЕШНО' || when_bad 'ОШИБКА'

ready "Очищаем все правила и таблицы..."
ready 'Очищаем все правила и таблицы...'
ip4__flush &> /dev/null
if [ $? = 0 ]; then when_ok "УСПЕШНО"; else when_bad "ОШИБКА"; fi
if [ $? = 0 ]; then when_ok 'УСПЕШНО'; else when_bad 'ОШИБКА'; fi

if [ -f /opt/etc/init.d/S99adguardhome ]; then
restore_adguard
Expand Down

0 comments on commit b505327

Please sign in to comment.