mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
autostart.sh: import environment from /etc/profile
This commit is contained in:
parent
e5199b5bf9
commit
76345ea249
@ -6,7 +6,7 @@ After=graphical.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
Environment=HOME=/storage
|
Environment=HOME=/storage
|
||||||
ExecStart=-/bin/sh /storage/.config/autostart.sh
|
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /storage/.config/autostart.sh"
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user