mirror of
https://github.com/goodtft/LCD-show.git
synced 2025-01-19 18:52:16 +01:00
modify system back and restore
This commit is contained in:
parent
854864e08e
commit
60e3c9a3de
@ -43,7 +43,9 @@ else
|
||||
sudo cp -rf ./boot/config-nomal.txt /boot/config.txt
|
||||
#sudo cp -rf ./usr/cmdline.txt-original /boot/cmdline.txt
|
||||
fi
|
||||
if [ -f /usr/share/X11/xorg.conf.d/99-fbturbo.conf ]; then
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/99-fbturbo.conf ./.system_backup/
|
||||
fi
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-original /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo cp -rf /etc/rc.local ./.system_backup/
|
||||
sudo cp -rf ./etc/rc.local-original /etc/rc.local
|
||||
|
@ -27,7 +27,9 @@ fi
|
||||
ls -al ./.system_backup/*.dtb > /dev/null 2>&1 && sudo cp -rf ./.system_backup/*.dtb /boot/overlays/
|
||||
ls -al ./.system_backup/*.dtbo > /dev/null 2>&1 && sudo cp -rf ./.system_backup/*.dtbo /boot/overlays/
|
||||
|
||||
if [ -f ./.system_backup/99-fbturbo.conf ];then
|
||||
sudo cp -rf ./.system_backup/99-fbturbo.conf /usr/share/X11/xorg.conf.d
|
||||
fi
|
||||
sudo cp -rf ./.system_backup/cmdline.txt /boot/
|
||||
sudo cp -rf ./.system_backup/config.txt /boot/
|
||||
sudo cp -rf ./.system_backup/rc.local /etc/
|
||||
|
Loading…
x
Reference in New Issue
Block a user