#!/bin/bash # basic background on this feature # see: https://github.com/rootzoll/raspiblitz/issues/936 # get basic system information # these are the same set of infos the WebGUI dialog/controler has source /home/admin/raspiblitz.info &2 sudo touch /forcefsck echo "# DONE - please reboot" else echo "# FAIL to execute on ${baseimage}: ${resizeRaspbian}" echo "err='expand failed'" exit 1 fi else echo "#FAIL no implementation for: ${baseimage}" echo "err='missing implementation'" exit 1 fi exit 0 fi echo "err='unknown parameter'" exit 1