Обновить bkp_uci.sh

This commit is contained in:
2026-04-24 22:27:28 +03:00
parent 16c5deb967
commit 151f4ded8d
+4
View File
@@ -13,6 +13,10 @@ ROUTER_PASS=556667777
BACKUP_NAME="openwrt-backup-$(date +%F).tar.gz"
if ! command -v sshpass &> /dev/null; then
sudo apt update && sudo apt install -y sshpass
fi
echo "[*] Creating backup on router..."
sshpass -p "$ROUTER_PASS" ssh -o StrictHostKeyChecking=no $ROUTER_USER@$ROUTER_HOST << 'EOF'