summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade/common.sh
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-02-01 11:02:30 +0100
committerPaul Spooren <mail@aparcar.org>2021-06-20 15:15:32 -1000
commitbb2b7156a4b55a5599ac45adbe46b2d6bd046036 (patch)
treeb679fa273ca503cdf7f682c55edfba199dff6ff2 /package/base-files/files/lib/upgrade/common.sh
parentd374e2cdb499b2a4282d84f95709b9a40d88a995 (diff)
downloadopenwrt-bb2b7156a4b55a5599ac45adbe46b2d6bd046036.tar.gz
openwrt-bb2b7156a4b55a5599ac45adbe46b2d6bd046036.tar.bz2
openwrt-bb2b7156a4b55a5599ac45adbe46b2d6bd046036.zip
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 <fe@dev.tdt.de>
Diffstat (limited to 'package/base-files/files/lib/upgrade/common.sh')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh1
1 files changed, 1 insertions, 0 deletions
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() {