Switching server off on power lost.

My home server is connected to the UPS, but it is very simple - it hasn't data interface. So when the power had switched off my server can't figure it out unless UPS's battery is full. I have found a very simple solution, which helps safely shutdown my Linux box on …

more ...