| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | #!/bin/sh /etc/rc.common |
| 2 | # Copyright (C) 2006 OpenWrt.org | ||||
| 3 | |||||
| 4 | START=95 | ||||
| 5 | boot() { | ||||
| 6 | # mount_root done | ||||
| 7 | rm -f /sysupgrade.tgz && sync | ||||
| 8 | |||||
| 9 | # process user commands | ||||
| 10 | [ -f /etc/rc.local ] && { | ||||
| 11 | sh /etc/rc.local | ||||
| 12 | } | ||||
| 13 | |||||
| 14 | # set leds to normal state | ||||
| 15 | . /etc/diag.sh | ||||
| 16 | set_state done | ||||
| 17 | } | ||||