luci-app-nut: fix wrong nut_server option
authorPaul Donald <newtwen+github@gmail.com>
Thu, 9 Jan 2025 18:11:07 +0000 (19:11 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 9 Jan 2025 18:11:07 +0000 (19:11 +0100)
commit7f6c7271b2581e2261e2f9a004ae389b2c57103c
tree49cdda2c75d1bc1f679e6a2f288283954dbdef06
parent20bf9a4b179cda8eb99559faa76093c958f37bd9
luci-app-nut: fix wrong nut_server option

There is no driver_path prefix in the original lua code.

https://github.com/openwrt/luci/blob/f6e6b055d514595941db4a4cc11c3d9902eabefb/applications/luci-app-nut/luasrc/model/cbi/nut_server.lua#L132-L135

Currently the uci configuration file does not require this path prefix by default.

Closes #7542

Signed-off-by: Tianshuai Gao <cocopriestyu+github@gmail.com>
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js