mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-28 23:23:59 +00:00
14 lines
259 B
Plaintext
14 lines
259 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
|
||
|
START=99
|
||
|
|
||
|
boot() {
|
||
|
case $(board_name) in
|
||
|
alfa-network,ac1200rm|\
|
||
|
alfa-network,tube-e4g)
|
||
|
[ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
|
||
|
echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s -
|
||
|
;;
|
||
|
esac
|
||
|
}
|