It doesn't work on 16.04 and 17.10 for different reason. The file /etc/killpower is created but the script /etc/init.d/halt have never executed on 16.04 and isn't present at all on 17.10. No one is calling nut-client and nut-server with the "poweroff" parameter. I've tested it on vm with debug print to serial port. I don't get how it is supposed to work.
It doesn't work on 16.04 and 17.10 for different reason. The file /etc/killpower is created but the script /etc/init.d/halt have never executed on 16.04 and isn't present at all on 17.10. No one is calling nut-client and nut-server with the "poweroff" parameter. I've tested it on vm with debug print to serial port. I don't get how it is supposed to work.