Hi,
I use rasbian. And the problem is ups not start up or when power going down, it's shutdown. Accu is full. And when it's boot it give error rc.local file. Error: "Failed to start /etc/init.d/rc.local Compatibility.
See 'systemctl status rc-local.service' for details.
So I try to fix it with this way: https://bbs.archlinux.org/viewtopic.php?id=147790
But no help.
Here is rc.local file content:
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# Run UPS Pico FSSD script and load the included emulated RTC
sudo python /home/pi/picofssd.py &
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
( sleep 4; hwclock -s ) &
exit 0