diff options
author | Aaron Ball <nullspoon@oper.io> | 2019-03-31 21:51:15 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2019-03-31 21:51:15 -0600 |
commit | 80b483858121166e76c94a60f62126215a757c52 (patch) | |
tree | b0dfe275d29614f291b20661520ac4bc46e8f4b8 | |
parent | cc24c8688f4aedd66e91ebf1b057429766fd5ef0 (diff) | |
download | mkinitramfs-80b483858121166e76c94a60f62126215a757c52.tar.gz mkinitramfs-80b483858121166e76c94a60f62126215a757c52.tar.xz |
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.
-rwxr-xr-x | init | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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." |