#!/bin/bash cd /root/krd24 || exit 1 echo "=== распаковка 20-krt.srm:" rm -rf srm20; unsquashfs -d srm20 /path/to/pf/KRD/files/live/KRD/20-krt.srm >/dev/null 2>&1 || true ls srm20 2>/dev/null | head find srm20 -maxdepth 3 -type f | head -20 echo echo "=== строки KRT про обновление/скрипт:" for f in $(find srm20 -maxdepth 4 -type f -name 'KRT*' -o -maxdepth 4 -type f -name '*.so' | head -5); do echo "--- $f" strings -a "$f" | grep -iE 'make_unique_update|run_update|updater|Update bases|обнов' | head -10 done