X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/81504d5ab693d2968c6c15dac4e6e2180c7a76d0..6a26e8186b1cc0e6e650f762a08475d944b1288d:/package/comgt/files/3g.sh?ds=inline diff --git a/package/comgt/files/3g.sh b/package/comgt/files/3g.sh index b27e90e50..8fcac0936 100644 --- a/package/comgt/files/3g.sh +++ b/package/comgt/files/3g.sh @@ -1,4 +1,6 @@ set_3g_led() { + # set on WRT54G3G only + [ -d /proc/diag ] || return 0 grep WRT54G3G /proc/diag/model >/dev/null || return 0 echo "$1" > /proc/diag/led/3g_green echo "$2" > /proc/diag/led/3g_blue