#!/bin/sh cat /dev/null > /etc/power_is_failing /sbin/shutdown -h +5 "THE POWER IS FAILING"