diff options
Diffstat (limited to 'init')
-rw-r--r-- | init | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,7 @@ udevd_running=0 mount_handler=default_mount_handler init=/sbin/init +rd_logmask=0 if [ -x /usr/bin/systemd-timestamp ]; then RD_TIMESTAMP=$(systemd-timestamp) @@ -19,6 +20,9 @@ mkdir -m755 /run/initramfs # parse the kernel command line parse_cmdline </proc/cmdline +# setup logging as early as possible +rdlogger_start + for d in ${disablehooks//,/ }; do [ -e "/hooks/$d" ] && chmod 644 "/hooks/$d" done @@ -72,6 +76,8 @@ if [ "${break}" = "postmount" ]; then launch_interactive_shell fi +rdlogger_stop + exec env -i \ "TERM=$TERM" \ "RD_TIMESTAMP=$RD_TIMESTAMP" \ |