copy modified apcupsd conf at startup

Options
nasigormk
nasigormk Posts: 1  Freshman Member
edited October 2018 in Personal Cloud Storage
hi MIjself

My unit is NAS326 it has  FFP and ENTware works without problem

i want to make the script which copy ethernet apc network configuration from
cp /opt/etc/apcupsd/apcupsd.conf and put it on original /etc/apcupsd/ folder restart and works ,i need this because original firmware has been locked this feature .

i made executable .sh code but dont know where to put it


So the unit can shutdown without  tweaks tools use network from the card APC 9617

I have no idea how  thanks for the help

Regards
Igor

#NAS_Oct_2018

All Replies

  • Mijzelf
    Mijzelf Posts: 2,645  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    i made executable .sh code but dont know where to put it
    /opt/etc/init.d/, then it will be executed on start of Entware-ng. It is possible that you'll have to send a HUP signal, or restart apcupsd, as I don't know if it's already running by then.

Consumer Product Help Center