luci-mod-system: prevent clearing rc.local on unrelated submit actions
authorJo-Philipp Wich <jo@mein.io>
Wed, 12 Jun 2019 15:47:30 +0000 (17:47 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 21 Aug 2019 15:50:08 +0000 (17:50 +0200)
commit7995ef34b5de544a05af9b3aa77c88a5304e6968
tree1a9b1e6143b90dd545bfcca320987cb39b43126e
parentcb54693a77c75000c946badb62b864492d2cdb31
luci-mod-system: prevent clearing rc.local on unrelated submit actions

Fixes: #2760
Fixes: 1c09ee5e4 ("luci-mod-system: fix SimpleForm usage on file editing pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1aa13ed51ed1c1b62b1ed296383907d953a62698)
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua