summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-11-14 17:17:39 +0100
committerJo-Philipp Wich <jow@openwrt.org>2014-11-14 17:17:39 +0100
commit534d73793fbc4adf09d7a8156dac0f529d60bdb6 (patch)
tree53f0ea73b1d947d2445d4bcb16dc41741058b109
parent559bf9126c38992838e240c784ce0d9f4e6714a9 (diff)
parentebb00d824f1b89a124fdf767c7eea98db14b7b16 (diff)
Merge pull request #250 from openwrt-es/luci-next2
Fix disabling service instance for dump1090/udpxy/shairplay/shairport
-rw-r--r--applications/luci-dump1090/luasrc/model/cbi/dump1090.lua1
-rw-r--r--applications/luci-shairplay/luasrc/model/cbi/shairplay.lua1
-rw-r--r--applications/luci-shairport/luasrc/model/cbi/shairport.lua1
-rw-r--r--applications/luci-udpxy/luasrc/model/cbi/udpxy.lua1
4 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-dump1090/luasrc/model/cbi/dump1090.lua b/applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
index d3efe0b06..c42f918cf 100644
--- a/applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
+++ b/applications/luci-dump1090/luasrc/model/cbi/dump1090.lua
@@ -22,6 +22,7 @@ enable=s:option(Flag, "disabled", translate("Enabled"))
enable.enabled="0"
enable.disabled="1"
enable.default = "1"
+enable.rmempty = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false
diff --git a/applications/luci-shairplay/luasrc/model/cbi/shairplay.lua b/applications/luci-shairplay/luasrc/model/cbi/shairplay.lua
index 553917454..e957ce697 100644
--- a/applications/luci-shairplay/luasrc/model/cbi/shairplay.lua
+++ b/applications/luci-shairplay/luasrc/model/cbi/shairplay.lua
@@ -22,6 +22,7 @@ enable=s:option(Flag, "disabled", translate("Enabled"))
enable.enabled="0"
enable.disabled="1"
enable.default = "1"
+enable.rmempty = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false
diff --git a/applications/luci-shairport/luasrc/model/cbi/shairport.lua b/applications/luci-shairport/luasrc/model/cbi/shairport.lua
index eb0772572..974d7850d 100644
--- a/applications/luci-shairport/luasrc/model/cbi/shairport.lua
+++ b/applications/luci-shairport/luasrc/model/cbi/shairport.lua
@@ -22,6 +22,7 @@ enable=s:option(Flag, "disabled", translate("Enabled"))
enable.enabled="0"
enable.disabled="1"
enable.default = "1"
+enable.rmempty = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false
diff --git a/applications/luci-udpxy/luasrc/model/cbi/udpxy.lua b/applications/luci-udpxy/luasrc/model/cbi/udpxy.lua
index fb3080afc..b08f93baf 100644
--- a/applications/luci-udpxy/luasrc/model/cbi/udpxy.lua
+++ b/applications/luci-udpxy/luasrc/model/cbi/udpxy.lua
@@ -22,6 +22,7 @@ enable=s:option(Flag, "disabled", translate("Enabled"))
enable.enabled="0"
enable.disabled="1"
enable.default = "1"
+enable.rmempty = false
respawn=s:option(Flag, "respawn", translate("Respawn"))
respawn.default = false