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