mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-16 18:01:07 +00:00
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"
|