luci-mod-system: refine flash reset 3145/head
authorChen Minqiang <ptpt52@gmail.com>
Wed, 25 Sep 2019 01:02:59 +0000 (09:02 +0800)
committerChen Minqiang <ptpt52@gmail.com>
Mon, 7 Oct 2019 15:37:35 +0000 (23:37 +0800)
commit29aad47121e8c69552ffbc1455443c69ee4c7497
tree37131052440831d58fc4a39ab789c3d38c668b93
parent90c52a1782ae7727c0a430dcec64d9c1b072e452
luci-mod-system: refine flash reset

We determine flash reset capability by checking overlayfs in /proc/mounts

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js