tjohn327 / raspberry_pi_ups

An uninterruptible power supply for Raspberry Pi that can provide more than an hour of backup power and can shutdown the Pi safely.
MIT License
90 stars 32 forks source link

suppress wall message due to error #6

Closed andylittle closed 4 years ago

andylittle commented 4 years ago

The messages were not showing up due to a tty not being available. I ran the installer as root and the ups service runs as root.

Aug 24 21:30:36 raspberrypi python[1264]: wall: cannot get tty name: Inappropriate ioctl for device

raspberry_pi_ups# uname -a Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux

raspberry_pi_ups# cat /etc/debian_version 10.4