From: Florian Eckert Date: Wed, 3 Feb 2021 09:25:38 +0000 (+0100) Subject: base-files: remove unused vn and _vn function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb;p=openwrt%2Fstaging%2Frmilecki.git base-files: remove unused vn and _vn function The remaining vn calls have been ported to v. Therefore, these functions are no longer needed and will be removed. Signed-off-by: Florian Eckert --- diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 5c85d986f96..2b152a3dfad 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -65,19 +65,11 @@ _v() { [ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo "$*" >&2 } -_vn() { - [ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo -n "$*" >&2 -} - v() { _v "$(date) upgrade: $@" logger -p info -t upgrade "$@" } -vn() { - _vn "$(date) upgrade: $@" -} - json_string() { local v="$1" v="${v//\\/\\\\}"