Practically a NOP but we currently still enter the function, remove an
nonexistent lock file that is never going to be used outside of
interactive mode and then return early.
Doing it this way also brings it in line with the sysupgrade watchdog
doing `$UU && start_watchog()`.
OK?
Index: install.sub
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.1140
diff -u -p -r1.1140 install.sub
--- install.sub 21 Aug 2019 17:39:30 -0000 1.1140
+++ install.sub 22 Aug 2019 10:18:46 -0000
@@ -551,9 +551,6 @@ start_dmesg_listener() {
unlock
rm -f $_update
- # Do not start the listener if in non-interactive mode.
- $AI && return
-
# To ensure that only one dmesg listener instance can be active, run it
# in a co-process subshell of which there can always only be one active.
(
@@ -3327,7 +3324,7 @@ umount -af >/dev/null 2>&1
. install.md
# Start listener process looking for dmesg changes.
-start_dmesg_listener
+$AI && start_dmesg_listener
CGI_INFO=/tmp/i/cgiinfo
CGI_METHOD=