Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
rc.lib: Better log output for dmesg
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed May 19, 2020
1 parent 659c62f commit 09abd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init/rc.lib
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ log() {

# Additionally send all messages to /dev/kmsg so that they
# appear in 'dmesg' and can be read post-boot.
printf '=> %s\n' "$@" 2>/dev/null > /dev/kmsg
printf 'init: %s\n' "$@" 2>/dev/null > /dev/kmsg
}

mounted() {
Expand Down

0 comments on commit 09abd6f

Please sign in to comment.