@ -4,6 +4,8 @@ image_path="/data/filesystem.img"
zip_path="/filesystem.zip"
if [ ! -e $image_path ] && [ -e $zip_path ]; then
echo "No filesystem detected at ${image_path}!"
echo "Extracting..."
unzip $zip_path
mv *.img $image_path
fi