Update whit_install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user