set system.@led[-1].trigger='netdev'
set system.@led[-1].dev='eth1'
set system.@led[-1].mode='link tx rx'
+add system led
+set system.@led[-1]='led'
+set system.@led[-1].name='USB'
+set system.@led[-1].sysfs='wzr-hp-g300nh:blue:usb'
+set system.@led[-1].trigger='usbdev'
+set system.@led[-1].dev='1-1'
+set system.@led[-1].interval='50'
commit system
EOF
}
-if [ "${board}" == "wzr-hp-g300nh" ]; then
+if [ "${board}" == "wzr-hp-g300nh" || "${board}" == "wzr-hp-g301nh" ]; then
wzrhpg300nh_set_leds
fi