mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
kodi: shutdown.sh: source etc/profile
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.
This commit is contained in:
parent
197b4dd731
commit
60ab2c0410
@ -7,7 +7,7 @@ DefaultDependencies=no
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=HOME=/storage
|
||||
ExecStart=-/bin/sh /storage/.config/shutdown.sh halt
|
||||
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh halt"
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
@ -7,7 +7,7 @@ DefaultDependencies=no
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=HOME=/storage
|
||||
ExecStart=-/bin/sh /storage/.config/shutdown.sh poweroff
|
||||
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh poweroff"
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
@ -7,7 +7,7 @@ DefaultDependencies=no
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=HOME=/storage
|
||||
ExecStart=-/bin/sh /storage/.config/shutdown.sh reboot
|
||||
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/shutdown.sh reboot"
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user