bcm2835-driver: rework systemd service files

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-17 16:07:04 +02:00
parent 0c999f7595
commit 0ec749f19f
3 changed files with 13 additions and 2 deletions

View File

@ -79,5 +79,6 @@ makeinstall_target() {
post_install() {
enable_service bcm2835-threshold.service
enable_service framebuffer.service
enable_service fbset.service
enable_service unbind-console.service
}

View 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

View File

@ -1,5 +1,5 @@
[Unit]
Description=Framebuffer setup
Description=unbind Framebuffer console
ConditionPathExists=/sys/class/vtconsole/vtcon1/bind