mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-16 19:08:43 +01:00
091f5720e6
- System to run sccripts at the very first boot. Now currently used only for resizing the partion using the full SD size. - Can be expanded to run other scripts to prepare stuff at the very first boot.
10 lines
172 B
Bash
Executable File
10 lines
172 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
printf "Resize data partition ..."
|
|
parted /dev/mmcblk0 unit % resizepart 2 100% &&
|
|
partprobe /dev/mmcblk0 &&
|
|
sync &&
|
|
resize2fs /dev/mmcblk0p2 &&
|
|
echo "[OK]"
|
|
|