firmware/src/packages/fff/fff-web-ui/files/usr/sbin/disable_update_notification.sh
Adrian Schmutzler def42fadde fff-web: rename to fff-web-ui
The former fff-web package is essentially for serving a user
interface (UI). Therefore, include the UI in the name to distinguish
it from other web packages.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
Acked-by: Christian Dresel <freifunk@dresel.systems>
2020-12-22 14:10:16 +01:00

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