docker-tools icon indicating copy to clipboard operation
docker-tools copied to clipboard

Feature request: Support instcmds for nut-upsd

Open dmcc opened this issue 2 years ago • 1 comments
trafficstars

I was wondering if we could have it so that setting $INSTCMDS would be passed to upsd.users. My specific use case is to make it possible to temporarily mute the UPS beeper, but others (e.g., running tests) might be useful as well.

If this is of interest, please let me know and I'll put together a PR.

dmcc avatar Mar 19 '23 19:03 dmcc

Alternatively, if making a local config in /etc/nut/local is preferred, I can understand that -- I'm basically wondering if instcmds is a common enough override.

dmcc avatar Mar 20 '23 15:03 dmcc

Well, this issue went idle for a while. But the deed is done, INSTCMDS support is now added to the image with #227.

instantlinux avatar Sep 22 '25 18:09 instantlinux

Thank you @instantlinux!

dmcc avatar Sep 22 '25 18:09 dmcc