luci-mod-system: add support for switching the ssh service on and off.
[project/luci.git] / modules / luci-mod-system / htdocs / luci-static / resources / view / system / dropbear.js
index 3b1f14235dcfb6d7710344215e20c97bc4f8797a..45b9994cc6f35f952f09a333df8a78652803a78c 100644 (file)
@@ -14,6 +14,9 @@ return view.extend({
                s.addremove = true;
                s.addbtntitle = _('Add instance');
 
+               o = s.option(form.Flag, 'enable', _('Enable Instance'), _('Enable <abbr title="Secure Shell">SSH</abbr> service instance'));
+               o.default  = o.enabled;
+
                o = s.option(widgets.NetworkSelect, 'Interface', _('Interface'), _('Listen only on the given interface or, if unspecified, on all'));
                o.nocreate    = true;