modify system backup

This commit is contained in:
lcdwiki 2019-06-05 12:19:52 +01:00
parent bae0a0da81
commit fcfa9d45bd
3 changed files with 22 additions and 0 deletions

View File

@ -34,9 +34,13 @@ fi
fi
sudo cp -rf /boot/config.txt ./.system_backup
sudo cp -rf ./boot/config-nomal.txt /boot/config.txt
sudo cp -rf /usr/share/X11/xorg.conf.d/99-fbturbo.conf ./.system_backup/
sudo cp -rf ./usr/99-fbturbo.conf-original /usr/share/X11/xorg.conf.d/99-fbturbo.conf
sudo cp -rf /boot/cmdline.txt ./.system_backup/
sudo cp -rf ./usr/cmdline.txt-original /boot/cmdline.txt
sudo cp -rf /etc/rc.local ./.system_backup/
sudo cp -rf ./etc/rc.local-original /etc/rc.local
if [ -f /etc/inittab ]; then
sudo cp -rf /etc/inittab ./.system_backup

View File

@ -0,0 +1,17 @@
# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
#
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
#
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.
Section "Device"
Identifier "Allwinner A10/A13 FBDEV"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSection

1
usr/cmdline.txt-original Normal file
View File

@ -0,0 +1 @@
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=c9743830-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles