r /etc/apcupsd/powerfail
r /etc/nologin
d /run/apcupsd 0755 root root