1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.1/target/linux/ipq40xx/base-files/lib/functions/teltonika-functions.sh
Ycarus (Yannick Chabanois) b5d6a2ecb4 Add files needed for RUTX
2023-08-11 10:29:48 +02:00

10 lines
179 B
Bash
Executable file

#!/bin/sh
. /usr/share/libubox/jshn.sh
is_ios_enabled() {
local ios
json_load_file "/etc/board.json" && \
json_select hwinfo && \
json_get_var ios ios && [ "$ios" = "1" ]
}