Anyone have experiencing in automatically shutting down a linux machine from an apc ups? I'd like to have it auto shutdown itself before it runs out of power.