From 80b483858121166e76c94a60f62126215a757c52 Mon Sep 17 00:00:00 2001 From: Aaron Ball Date: Sun, 31 Mar 2019 21:51:15 -0600 Subject: init:move screen_init further down The screen_init function was dependent on the value of the QUIET variable, which previously was set after this function was called. Moving this down allows for the QUIET variable to be set before it is needed. Also removed the 'Parsing command line options' log message. --- init | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/init b/init index 98a771e..0c50ec4 100755 --- a/init +++ b/init @@ -160,9 +160,6 @@ wait_dev() { # rest. # main() { - # display fanciful boot image - screen_init - # Mount the /proc and /sys filesystems. mount -t tmpfs none /run mount -t devtmpfs none /dev @@ -176,10 +173,11 @@ main() { mkdir ${fakeroot} fi - log INFO "Parsing cmdline arguments" - parse_cmdline "$(cat /proc/cmdline)" + # display fanciful boot image + screen_init + log INFO "Root device: ${ROOTDEV}" log INFO "Waiting up to 10 seconds for root device to appear." -- cgit v1.2.3