mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-07 22:38:55 +00:00
15 lines
250 B
Plaintext
15 lines
250 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
|
||
|
START=99
|
||
|
|
||
|
start() {
|
||
|
. /lib/functions.sh
|
||
|
|
||
|
case $(board_name) in
|
||
|
alfa-network,ap120c-ac)
|
||
|
[ -n "$(fw_printenv bootcount changed 2>/dev/null)" ] &&\
|
||
|
echo -e "bootcount\nchanged\n" | /usr/sbin/fw_setenv -s -
|
||
|
;;
|
||
|
esac
|
||
|
}
|