#!/bin/sh
export PATH=/opt/lnxall_app/bin:/opt/lnxall_app/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin

cp -v -f /opt/lnxall_app/platspec/watch_powerfail.service /usr/lib/systemd/system/
systemctl daemon-reload
systemctl enable watch_powerfail.service
systemctl restart watch_powerfail.service

exit 0
