Update monitor/setup/setup.sh

This commit is contained in:
Quynh Nguyen 2025-05-27 09:41:47 +00:00
parent 182f3d301f
commit 7f8bcb6276

View File

@ -3,7 +3,7 @@
echo "nameserver 8.8.8.8" > /etc/resolv.conf echo "nameserver 8.8.8.8" > /etc/resolv.conf
sudo rm /var/lib/dpkg/lock sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a sudo dpkg --configure -a
sudo apt update && sudo apt upgrade -y sudo apt update -y && sudo apt upgrade -y
#***************set time**************************** #***************set time****************************
echo "Set timezon" echo "Set timezon"
unlink /etc/localtime unlink /etc/localtime
@ -121,7 +121,7 @@ autologin-user-timeout=0
fi fi
#*************install p7zip-full************** #*************install p7zip-full**************
sudo apt install p7zip-full sudo apt install -y p7zip-full
# Disable ttyS0 # Disable ttyS0
echo "Disable ttyS0" echo "Disable ttyS0"
systemctl stop serial-getty@ttyS0.service systemctl stop serial-getty@ttyS0.service