mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-15 18:52:10 +00:00
Update firstrun
This commit is contained in:
parent
b57e532dd5
commit
94c0303c50
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ case "$1" in
|
|||
sed -e 's/ether/ether '$NEWMAC'/g' -i /etc/network/interfaces.hostapd
|
||||
# Cubietruck exception
|
||||
# if HDMI is attached during boot, set default screen output to HDMI
|
||||
if [ -n "$(dmesg | grep ParseEDID)" ] && [ -n "/boot/cubietruck.bin" ]; then
|
||||
if [ -n "$(dmesg | grep ParseEDID)" ] && [ -f "/boot/cubietruck.bin" ]; then
|
||||
bin2fex /boot/cubietruck.bin /tmp/tmp.fex
|
||||
sed -e 's/screen0_output_type.*/screen0_output_type = 3/g' -i /tmp/tmp.fex
|
||||
fex2bin /tmp/tmp.fex /boot/cubietruck.bin
|
||||
|
|
Loading…
Add table
Reference in a new issue