diff --git a/defaults/initrd.d/00-common.sh b/defaults/initrd.d/00-common.sh index bb50fd1..fb1adfd 100755 --- a/defaults/initrd.d/00-common.sh +++ b/defaults/initrd.d/00-common.sh @@ -39,4 +39,14 @@ bad_msg() { splashcmd verbose echo -e "${BAD}!!${NORMAL}${BOLD} ${msg_string} ${NORMAL}" fi -} \ No newline at end of file +} + +quiet_kmsg() { + # if QUIET is set make the kernel less chatty + [ -n "$QUIET" ] && echo '0' > /proc/sys/kernel/printk +} + +verbose_kmsg() { + # if QUIET is set make the kernel less chatty + [ -n "$QUIET" ] && echo '6' > /proc/sys/kernel/printk +} diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index ffd2028..a2f31d3 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -890,16 +890,6 @@ sdelay() { fi } -quiet_kmsg() { - # if QUIET is set make the kernel less chatty - [ -n "$QUIET" ] && echo '0' > /proc/sys/kernel/printk -} - -verbose_kmsg() { - # if QUIET is set make the kernel less chatty - [ -n "$QUIET" ] && echo '6' > /proc/sys/kernel/printk -} - cdupdate() { if is_livecd then