Hi,
I have a (probably very basic) problem that I can not figure out how to solve. I have installed a new package, the apcupsd, to controll my UPS from Freenas. It works fine, but the problem is that it requires the configuretion file to be in /usr/local/etc/apcupsd/ (which it creates when installed). The problem is that when the box is rebooted, this directory dissapears. I have changed mode to readonly (chmod 444) on all files in this dir, have the filesystem mounted as readonly, still this directory is gone after reboot.
I can of course run a script at startup that copies everything back, but that seems like an ugly solution. Is there an other way around this?
btw: I am running 64 bit freenas from an USB stick, if that matters.
Thankyou
Bob
I have a (probably very basic) problem that I can not figure out how to solve. I have installed a new package, the apcupsd, to controll my UPS from Freenas. It works fine, but the problem is that it requires the configuretion file to be in /usr/local/etc/apcupsd/ (which it creates when installed). The problem is that when the box is rebooted, this directory dissapears. I have changed mode to readonly (chmod 444) on all files in this dir, have the filesystem mounted as readonly, still this directory is gone after reboot.
I can of course run a script at startup that copies everything back, but that seems like an ugly solution. Is there an other way around this?
btw: I am running 64 bit freenas from an USB stick, if that matters.
Thankyou
Bob