openwrt/package/base-files/files/lib
Mikhail Zhilkin 290ace2fe6
base-files: add mtd_get_mac_encrypted_arcadyan function
Some Arcadyan devices (e.g. MTS WG430223) keep their config in encrypted
mtd. This adds mtd_get_mac_encrypted_arcadyan() function to get the MAC
address from the encrypted partition. Function uses uencrypt utility for
decryption (and openssl if the uencrypt wasn't found).

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(cherry picked from commit 12c971bc26)
2022-08-19 14:44:35 +02:00
..
functions base-files: add mtd_get_mac_encrypted_arcadyan function 2022-08-19 14:44:35 +02:00
preinit base-files: bring up vlan interface too 2021-06-22 23:23:00 +02:00
upgrade base-files: allow ignoring minor compat-version check 2022-06-23 00:32:16 +02:00
functions.sh base-files: simplify restorecon logic 2022-05-03 20:32:48 +01:00