aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-21 12:12:17 +0300
committerCem Keylan <cem@ckyln.com>2020-05-21 12:12:17 +0300
commitacb5e294a100c1d33d8731d90e836a791254a081 (patch)
tree60482fc62f26c5a71c52eb1248f2fc1e93079891
parent50c3bba44ffff5c4105648275f36aa64e6a96e02 (diff)
downloadinit-acb5e294a100c1d33d8731d90e836a791254a081.tar.gz
rc.lib: enable setting loglevel from the kernel command line
-rw-r--r--rc.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.lib b/rc.lib
index 57f66d4..6eed51b 100644
--- a/rc.lib
+++ b/rc.lib
@@ -70,6 +70,7 @@ parse_cmdline() {
ro) RO=1 ;;
forcefsck) FORCEFSCK="-f" ;;
fastboot) FASTBOOT=1 ;;
+ loglevel=?) dmesg_level=${arg##*=} ;;
log) log=1 ;;
esac
done