aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-27 10:54:18 +0300
committerCem Keylan <cem@ckyln.com>2019-12-27 10:54:18 +0300
commitb4f3a91a133f39ccffaaacd521129fbb3bdb766b (patch)
tree6ff1b679dbf01d284aa410a5145540be83d181a6
parent3825c1e10a7c21f7624706bf66a72585bf9e7a84 (diff)
downloadinit-b4f3a91a133f39ccffaaacd521129fbb3bdb766b.tar.gz
set dmesg level
-rwxr-xr-xrc.boot4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.boot b/rc.boot
index 5c35229..806e4b4 100755
--- a/rc.boot
+++ b/rc.boot
@@ -45,6 +45,10 @@ main() {
mnt /dev/shm -o mode=1777,nosuid,nodev -nt tmpfs shm
}
+ log "Setting dmesg level..."; {
+ [ -n "$dmesg_level" ] && dmesg -n$dmesg_level
+ }
+
log "Starting eudev..."; {
command -v udevd >/dev/null && {
udevd --daemon