summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nut/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-nut/root/usr/share')
-rw-r--r--applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json14
1 files changed, 7 insertions, 7 deletions
diff --git a/applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json b/applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json
index e19143eb1b..64300d57eb 100644
--- a/applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json
+++ b/applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json
@@ -6,10 +6,10 @@
},
"depends": {
"acl": [ "luci-app-nut" ],
- "uci": [
- { "nut_server": true },
- { "nut_monitor": true },
- { "nut_cgi": true }
+ "fs": [
+ { "/etc/config/nut_server": "file" },
+ { "/etc/config/nut_monitor": "file" },
+ { "/etc/config/nut_cgi": "file" }
]
}
},
@@ -23,7 +23,7 @@
"post": { "cbi.submit": true }
},
"depends": {
- "uci": { "nut_server": true }
+ "fs": { "/etc/config/nut_server": "file" }
}
},
@@ -36,7 +36,7 @@
"post": { "cbi.submit": true }
},
"depends": {
- "uci": { "nut_monitor": true }
+ "fs": { "/etc/config/nut_monitor": "file" }
}
},
@@ -49,7 +49,7 @@
"post": { "cbi.submit": true }
},
"depends": {
- "uci": { "nut_cgi": true }
+ "fs": { "/etc/config/nut_cgi": "file" }
}
}
}