initrd.scripts: move quiet_kmsg and verbose_kmsg to 00-common.sh

master
Fabio Erculiani 12 years ago
parent bb51ba3046
commit 4c9f7dce50

@ -40,3 +40,13 @@ bad_msg() {
echo -e "${BAD}!!${NORMAL}${BOLD} ${msg_string} ${NORMAL}" echo -e "${BAD}!!${NORMAL}${BOLD} ${msg_string} ${NORMAL}"
fi 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
}

@ -890,16 +890,6 @@ sdelay() {
fi 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() { cdupdate() {
if is_livecd if is_livecd
then then

Loading…
Cancel
Save