mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
init: fsck: fix kmsg log writes
This commit is contained in:
@@ -527,7 +527,9 @@ check_disks() {
|
||||
break
|
||||
fi
|
||||
done
|
||||
sed -e '/^$/d' -e 's/^/fsck: /' </dev/fsck.latest >/dev/kmsg
|
||||
while read line; do
|
||||
[ -n "$line" ] && echo "fsck: ${line::160}" >/dev/kmsg
|
||||
done </dev/fsck.latest
|
||||
rm -f /dev/fsck.latest
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user