#!/bin/bash # this script updates the "site"-part of tinycore and copies it to the tftp-folder echo "Compressing core..." cd corepure64 && find | sudo cpio -o -H newc | gzip -2 > ../corepure64.gz cd .. echo "Copying core..." sudo cp corepure64.gz /home/tftproot/images/tc64_core echo "Done!"