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