Add droid4 rootfs-overlay

This commit is contained in:
parazyd 2018-02-09 15:14:48 +01:00
parent ad9902d245
commit 723a6f4620
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Section "Monitor"
Identifier "DSI-1"
Option "Rotate" "right"
EndSection

View File

@ -0,0 +1,6 @@
Section "InputClass"
Identifier "calibration"
MatchProduct "Atmel maXTouch Touchscreen"
Option "Calibration" "-5 964 1026 -7"
Option "SwapAxes" "1"
EndSection

18
extra/droid4/etc/rc.local Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
## regen ssh keys on first boot
[ -f /etc/ssh/ssh_host_rsa_key.pub ] || ssh-keygen -A
# droid4 lcd brightness
echo 200 > /sys/class/backlight/lcd/brightness
exit 0