mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
busybox/init: amend comment on block devices
This commit is contained in:
@@ -854,7 +854,7 @@ check_update() {
|
||||
FLASH_FREE=$(df /flash/ | awk '/[0-9]%/{print $4}')
|
||||
FLASH_FREE=$(( $FLASH_FREE * 1024 ))
|
||||
|
||||
# Disregard kernel size if it's a a block device, which is the case on Amlogic/WeTek devices
|
||||
# Disregard kernel size if it's a a block device
|
||||
if [ ! -b "/$IMAGE_KERNEL" ]; then
|
||||
OLD_KERNEL=$(stat -t "/flash/$IMAGE_KERNEL" | awk '{print $2}')
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user