Kodi addon to shutdown the NAS from the TV.
Markus Hennecke fab8dc169f Bump compatibility to kodi 19 | 3 lat temu | |
---|---|---|
resources | 4 lat temu | |
LICENSE.txt | 4 lat temu | |
README.md | 4 lat temu | |
addon.py | 4 lat temu | |
addon.xml | 3 lat temu | |
changelog.txt | 4 lat temu | |
icon.png | 4 lat temu |
mount -a
from kodi/etc/sudoers.d/kodi
Cmnd_Alias MOUNT_A_CMD=/bin/mount -a
kodi ALL=(ALL) NOPASSWD: MOUNT_A_CMD
Create the user kodi
and note the password.
/etc/sudoers.d/kodi
on the NASkodi ALL=(ALL) NOPASSWD: /sbin/shutdown -P now