Update whit_install.sh

This commit is contained in:
2025-06-03 22:44:53 +00:00
parent 0b251992fc
commit 81a46c1f8a

View File

@@ -7,8 +7,8 @@ sudo apt install kodi lftp fbi ffmpeg cifs-utils samba apache2 php libapache2-mo
current_date=$(date +%Y_%m_%d_%H_%M_%S)
#Backup modified files
cp /home/$USER/.bashrc /home/$USER/.bashrc.$current_date
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.$current_date
cp /home/$USER/.bashrc /home/$USER/WHIT/install/backup/.bashrc.$current_date
sudo cp /etc/samba/smb.conf /home/$USER/WHIT/install/backup/smb.conf.$current_date
sudo cat /home/$USER/WHIT/install/samba.conf |sudo tee -a /etc/samba/smb.conf
sudo cp /home/$USER/WHIT/install/html /var/www/html/whit -r