diff --git a/home.admin/config.scripts/blitz.sdcard.sh b/home.admin/config.scripts/blitz.sdcard.sh index 2f8b8ceff..c3da37710 100644 --- a/home.admin/config.scripts/blitz.sdcard.sh +++ b/home.admin/config.scripts/blitz.sdcard.sh @@ -21,6 +21,12 @@ if [ "$EUID" -ne 0 ] exit 1 fi +# 1st PARAMETER: action +action=$1 + +######################### +# STATUS + # gather data on sd card minimumSizeByte=8192000000 rootPartition=$(sudo mount | grep " / " | cut -d " " -f 1 | cut -d "/" -f 3) @@ -46,6 +52,9 @@ if [ "${action}" == "status" ]; then exit 0 fi +########################### +# EXPAND FILE SYSTEM OF SD + if [ "${action}" == "fsexpand" ]; then echo "# starting expand of file system of sd card"