Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
NUT web UI breaks config with commas
« previous
next »
Print
Pages: [
1
]
Author
Topic: NUT web UI breaks config with commas (Read 626 times)
calcifer
Newbie
Posts: 1
Karma: 0
NUT web UI breaks config with commas
«
on:
August 08, 2023, 09:16:26 pm »
When configuring NUT driver parameters ("Extra Arguments" on the web UI) the input field separates parameters by commas. So if you enter "port=auto,vendorid=123" it splits that into 2 key/value pairs.
This makes it impossible to enter values containing commas, like "runtimecal=210,100,600,50"
I had to edit ups.conf manually and mark it as immutable to prevent OPNsense from messing with it:
Code:
[Select]
# chflags schg /usr/local/etc/nut/ups.conf
It'd be great to have a plaintext input option or a way to escape commas on the web UI.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
NUT web UI breaks config with commas