mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
bcm2835-driver: rework systemd service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0c999f7595
commit
0ec749f19f
@ -79,5 +79,6 @@ makeinstall_target() {
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
enable_service bcm2835-threshold.service
|
enable_service bcm2835-threshold.service
|
||||||
enable_service framebuffer.service
|
enable_service fbset.service
|
||||||
|
enable_service unbind-console.service
|
||||||
}
|
}
|
||||||
|
10
packages/graphics/bcm2835-driver/system.d/fbset.service
Normal file
10
packages/graphics/bcm2835-driver/system.d/fbset.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Framebuffer setup
|
||||||
|
After=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/bin/fbset -g 1 1 1 1 32
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical.target
|
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Framebuffer setup
|
Description=unbind Framebuffer console
|
||||||
|
|
||||||
ConditionPathExists=/sys/class/vtconsole/vtcon1/bind
|
ConditionPathExists=/sys/class/vtconsole/vtcon1/bind
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user