From da8bc62b18a193f1d41fe8f409d83b502dd615f4 Mon Sep 17 00:00:00 2001 From: YourFritz Date: Fri, 17 Jul 2020 02:41:50 +0200 Subject: [PATCH] scriptlib: add warning for non-POSIX utility --- scriptlib/functions/yf_fritzos_login_hash.function | 3 +++ scriptlib/functions/yf_get_ip_address.function | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scriptlib/functions/yf_fritzos_login_hash.function b/scriptlib/functions/yf_fritzos_login_hash.function index 1eec923d..7e9261ee 100644 --- a/scriptlib/functions/yf_fritzos_login_hash.function +++ b/scriptlib/functions/yf_fritzos_login_hash.function @@ -22,6 +22,9 @@ # this encoding) will simply be done by adding another 0x00 byte to each character # # and this approach is only valid for characters from the 7-bit ASCII set. # # # +# WARNING: # +# This script needs a 'md5sum' binary, which isn't part of POSIX standards. # +# # ####################################################################################### # # # U: printf md5sum sed # diff --git a/scriptlib/functions/yf_get_ip_address.function b/scriptlib/functions/yf_get_ip_address.function index 6a6387d4..cf23e29c 100644 --- a/scriptlib/functions/yf_get_ip_address.function +++ b/scriptlib/functions/yf_get_ip_address.function @@ -15,6 +15,9 @@ # 0 - stdout is valid and contains at least one entry # # 1 - the interface name is invalid or the interface has no IPv4 address assigned # # # +# WARNING: # +# This script needs a 'ip' binary, which isn't part of POSIX standards. # +# # ####################################################################################### # # # U: ip sed printf #