mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-10 11:27:49 +00:00
bcm2835-driver: rework systemd service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
[Unit]
|
||||
Description=Set onedemand threshold
|
||||
After=syslog.target
|
||||
|
||||
ConditionPathExists=/sys/devices/system/cpu/cpufreq/ondemand/up_threshold
|
||||
|
||||
@@ -9,5 +8,4 @@ Type=oneshot
|
||||
ExecStart=/bin/sh -c 'echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
WantedBy=basic.target
|
||||
|
@@ -1,11 +1,11 @@
|
||||
[Unit]
|
||||
Description=Framebuffer setup
|
||||
After=multi-user.target
|
||||
|
||||
ConditionPathExists=/sys/class/vtconsole/vtcon1/bind
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
||||
ExecStart=/sbin/fbset -g 1 1 1 1 32
|
||||
ExecStart=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
||||
|
Reference in New Issue
Block a user