diff --git a/buildroot-external/rootfs-overlay/etc/init.d/S00resize_sdcard b/buildroot-external/rootfs-overlay/etc/init.d/S00resize_sdcard deleted file mode 100755 index 085e5be6..00000000 --- a/buildroot-external/rootfs-overlay/etc/init.d/S00resize_sdcard +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# Resize SD card -# - -start() { - printf "Resize data partition ..." - parted /dev/mmcblk0 unit % resizepart 2 yes 100% && - partprobe /dev/mmcblk0 && - sync && - resize2fs /dev/mmcblk0p2 && - chmod -x /etc/init.d/S00resize_sdcard && - echo "[OK]" -} - -case "$1" in - start) - start - ;; - *) - echo "Usage: $0 {start}" - exit 1 -esac - -exit $?