mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Led blinking stop
stop sw controlled blinking before peripheral manager take control
This commit is contained in:
parent
53985c2411
commit
0899b8c4ab
1 changed files with 19 additions and 0 deletions
19
peripheral_manager/files/etc/init.d/led_blink_stop
Executable file
19
peripheral_manager/files/etc/init.d/led_blink_stop
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=19
|
||||
|
||||
|
||||
USE_PROCD=0
|
||||
NAME=peripheral_led_normal
|
||||
|
||||
start_service() {
|
||||
local b_name=$(proc/nvram/boardid)
|
||||
case $b_name in
|
||||
'DG200R0'| 'CG300R0' | 'EG300R0'| 'DG301R0')
|
||||
brcm_fw_tool set -h 22 0 ;;
|
||||
*)
|
||||
brcm_fw_tool set -h 22 0 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue