FreeNAS 7 - see link at the top of the forum. This site is for FreeNAS 8.
If you were on FreeNAS 8, and since I'd already typed this out before noticing you were on FN7 I may as well let it stand... you'd need to hack a change into /etc/local/nut/upsmon.conf, replacing the default shutdown command with your own script (that would also end with a "shutdown -p now"). Though as this conf file is rewritten from the database, it would require modifying the script that creates upsmon.conf, which is /etc/rc.d/ix-ups (modify the /conf/base version to keep the change across boots).
Perhaps as an enhancement you should open a ticket requesting that the default shutdown command can be changed via the GUI.
The changes for FN7 are probably similar - find the post on the FN7 forum detailing how to get network UPS support working in FN7, and it should give you all the clues you need.



Reply With Quote
I'll give it a try. So I can still run WinNUT on Windows? Reason being the FreeNAS system can't really have the UPS connected to it.