mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
511e8f84d0
Currently LED configuration is only carried out once during boot. Apply LED configuration also with a hotplug call when a new LED gets added later. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 lines
72 B
Bash
4 lines
72 B
Bash
#!/bin/sh
|
|
|
|
[ "$ACTION" = "add" ] && /etc/init.d/led start "$DEVICENAME"
|