From bb2b7156a4b55a5599ac45adbe46b2d6bd046036 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 1 Feb 2021 11:02:30 +0100 Subject: base-files: add syslog logging for v function The logging output should not only be displayed in the calling shell session but also in the syslog. A sysupgrade and a configuration import, export can thus be traced in the syslog. Signed-off-by: Florian Eckert --- package/base-files/files/lib/upgrade/common.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files/lib/upgrade/common.sh') diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index b8ae2ecb7e..5c85d986f9 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -71,6 +71,7 @@ _vn() { v() { _v "$(date) upgrade: $@" + logger -p info -t upgrade "$@" } vn() { -- cgit v1.2.3