Prevent an incorrect / misleading "There are no changes to apply" message
from popping up when adding a new SSH key to the text box.
Fixes #2048.
Signed-off-by: Dirk Brenken <dev@brenken.org>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
m = Map("system", translate("Router Password"),
translate("Changes the administrator password for accessing the device"))
+m.apply_on_parse = true
s = m:section(TypedSection, "_dummy", "")
s.addremove = false
m2 = Map("dropbear", translate("SSH Access"),
translate("Dropbear offers <abbr title=\"Secure Shell\">SSH</abbr> network shell access and an integrated <abbr title=\"Secure Copy\">SCP</abbr> server"))
+m2.apply_on_parse = true
s = m2:section(TypedSection, "dropbear", translate("Dropbear Instance"))
s.anonymous = true