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