lede/target/linux/amlogic/meson8b/base-files/root/resize.sh
2024-05-06 05:53:58 +08:00

11 lines
295 B
Bash
Executable File

#!/bin/bash
parted /dev/mmcblk1 resizepart 2 100%
losetup /dev/loop0 /dev/mmcblk1p2
resize2fs -f /dev/loop0
echo "# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
exit 0">/etc/rc.local
rm -rf /root/resize.sh && reboot