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:
parent
4ada46d528
commit
4f4945ef88
|
@ -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 $?
|
Loading…
Reference in New Issue