2018-08-27, 23:00
On freshly installed ubuntu server 18.04 with kodi v18 (alpha3) and tvheadend the setwakeup.sh does not run on poweroff.
The script lives in standard path /usr/bin and works fine when starting manually.
There is no hint in kodi.log about trying to run setwakeup.sh.
Is there anyone who can help, or do I have to report a bug report?
Thanks in advance
---
#!/bin/sh
#
# set ACPI Wakeup time
# usage: setwakeup.sh seconds
# seconds - number of seconds from epoch to UTC time (time_t time format)
echo 0 > /sys/class/rtc/rtc0/wakealarm # clear alarm
echo $1 > /sys/class/rtc/rtc0/wakealarm # write the waketime
---
The script lives in standard path /usr/bin and works fine when starting manually.
There is no hint in kodi.log about trying to run setwakeup.sh.
Is there anyone who can help, or do I have to report a bug report?
Thanks in advance
---
#!/bin/sh
#
# set ACPI Wakeup time
# usage: setwakeup.sh seconds
# seconds - number of seconds from epoch to UTC time (time_t time format)
echo 0 > /sys/class/rtc/rtc0/wakealarm # clear alarm
echo $1 > /sys/class/rtc/rtc0/wakealarm # write the waketime
---