modify system backup
This commit is contained in:
parent
bae0a0da81
commit
fcfa9d45bd
@ -34,9 +34,13 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sudo cp -rf /boot/config.txt ./.system_backup
|
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/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 /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 ./.system_backup/
|
||||||
|
sudo cp -rf ./etc/rc.local-original /etc/rc.local
|
||||||
|
|
||||||
if [ -f /etc/inittab ]; then
|
if [ -f /etc/inittab ]; then
|
||||||
sudo cp -rf /etc/inittab ./.system_backup
|
sudo cp -rf /etc/inittab ./.system_backup
|
||||||
|
|||||||
17
usr/99-fbturbo.conf-original
Normal file
17
usr/99-fbturbo.conf-original
Normal 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
1
usr/cmdline.txt-original
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user