From: Michael Prokop Date: Mon, 6 Feb 2023 14:55:05 +0000 (+0100) Subject: Drop support for bootlogd X-Git-Tag: v0.20.4~1 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=7bfc241ac64c535dc5c2a28e9fdb1ff55c1d5625 Drop support for bootlogd We no longer support non-systemd init systems like file-rc, one can run `journalctl -b` nowadays. There's no point in supporting bootlogd given that we don't even ship it any longer. Thanks: Roland Sommer for reporting --- diff --git a/autoconfig.functions b/autoconfig.functions index e659549..891242e 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -212,12 +212,8 @@ fi config_log(){ if checkbootparam 'log' || checkbootparam 'debug' ; then export DEBUG="/tmp/grml.log.`date +%Y%m%d`" - touch $DEBUG - einfo "Bootparameter log found. Log files: ${DEBUG} and /var/log/boot" - eindent - einfo "Starting bootlogd." # known to be *very* unreliable :( - bootlogd -r -c >>$DEBUG 2>&1 ; eend $? - eoutdent + touch "${DEBUG}" + einfo "Bootparameter log found, debug log file from grml-autoconfig available at '${DEBUG}'" else DEBUG="/dev/null" fi