Update vlan-check_GR.sh

OpenWRT bash scripts do not accept functions. Changed code to reflect that