#!/bin/bash # this script updates the "site"-part of tinycore and copies it to the tftp-folder echo "Create site folder..." mkdir -p site cd site echo "Decompress site.gz..." zcat ../site.gz | sudo cpio -i -H newc -d cd .. echo "Done!"