Project

General

Profile

Actions

Chroot

Обноевлние шаблона:
update-chroot-template.sh [-x]

Проверка лишних библиотек:

for NAME in /bin/* usr/bin/* /usr/local/bin/* /usr/local/libexec/* $(ldd /bin/* usr/bin/* /usr/local/bin/* /usr/local/libexec/* | grep = | awk '{print $3}' | sort | uniq); do file -b "${NAME}" -e elf | grep -q '^ELF ' && ldd $NAME; done |  grep = | awk '{print $3}' | sort | uniq > /1
find /lib /usr/lib /usr/local/lib -type f | grep -v -f /1
rm /1

Обновление экземпляра:
city-sync.sh <username> [-x]

Обновление всех экземпляров:

cd /web/city
for NAME in *; do city-sync.sh $NAME -x; done

Updated by Андрей Волков almost 12 years ago · 6 revisions