MycroftOS: Remove SDresize init script as it doesn't work with systemd

- Didn't work at boottime anyway
- Need to be recreated utilizing systemd
This commit is contained in:
Peter Steenbergen 2019-02-02 11:58:26 +01:00
parent 4ada46d528
commit 4f4945ef88
1 changed files with 0 additions and 25 deletions

View File

@ -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 $?