Posts by warp95


    Thanks, again though will that signal kodi to do a clean shutdown, or is there some other thing I need to do to ensure that kodi comes down cleanly.

    I ave found this for LibreElec/kodi :

    - Edit the lifepo4wered-daemon.c file and change the shutdown function to this:

    void shutdown(void) {
    syslog(LOG_INFO, "LiFePO4wered/Pi triggered shutdown");
    char *params[6] = {"shutdown", "-h", "-t", "60", "now", NULL}; // shutdown halt in 10 seconds
    execv("/sbin/shutdown", params);
    }

    It's here : LiFePO4wered/Pi • Hackaday.io