60ab2c0410
lets make this consistent as with autostart.sh. too many people have no idea how to deal with $PATH and why their 3rdparty stuff dont work in shutdown.sh.
15 lines
303 B
Desktop File
15 lines
303 B
Desktop File
[Unit]
|
|
Description=Kodi reboot script
|
|
After=kodi.service
|
|
Before=systemd-reboot.service
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=HOME=/storage
|
|
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh reboot"
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=reboot.target
|