firmware/src/packages/fff/fff-web-ui/files/usr/sbin/disable_update_notification.sh

12 lines
250 B
Bash
Executable File

#!/bin/sh
# This disables the WebUI update notification permanently
# (preserved during firmware upgrade)
uci -q set "fff.notifyupdate=webui"
uci -q set "fff.notifyupdate.value=0"
uci -q commit fff
/bin/rm -f /tmp/isupdate
/bin/rm -f /tmp/fwcheck