mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Small bugfixes regarding firstrun/resize2fs and BT on BPi M2+
This commit is contained in:
@@ -37,7 +37,8 @@ fi
|
||||
case "$1" in
|
||||
start)
|
||||
if [[ $rootfstype == ext4 && ! -f "/root/.no_rootfs_resize" ]]; then
|
||||
/sbin/resize2fs $device >>${Log} 2>&1
|
||||
echo -e "\n### [resize2fs] Start resizing partition now\n" >>/var/log/armhwinfo.log
|
||||
/sbin/resize2fs $device >>/var/log/armhwinfo.log 2>&1
|
||||
fi
|
||||
if [[ ! -f "/var/swap" ]]; then
|
||||
dd if=/dev/zero of=/var/swap bs=1024 count=131072 status=noxfer >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user