mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-11-05 17:58:04 +09:00
7aca4ec3b0
Add option to enable/disable screen blanking Simplify source package
14 lines
281 B
Bash
14 lines
281 B
Bash
#!/bin/sh
|
|
|
|
if [ -e /etc/init.d/switch_cpu_governor ]; then
|
|
update-rc.d switch_cpu_governor remove >/dev/null
|
|
fi
|
|
|
|
if dpkg --compare-versions "${2}" lt-nl "20170619"; then
|
|
update-rc.d -f raspi-config remove
|
|
fi
|
|
|
|
rmdir --ignore-fail-on-non-empty /etc/X11/xorg.conf.d/
|
|
|
|
#DEBHELPER#
|