Skip to content

Commit

Permalink
Update fxBlox_custom_script_service.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Oct 20, 2024
1 parent 4cde986 commit d6a257d
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions userpatches/overlay/fxBlox_custom_script_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ addUser()


if [[ -f /root/.fxBlox_custom_script_service ]]; then

sudo systemctl stop docker.socket
sleep 1
sudo systemctl stop docker.service
sleep 1
sudo systemctl stop uniondrive.service
sleep 1
sudo systemctl stop fula.service
sleep 1
# read variable from config file
source /usr/bin/fula/config

Expand Down Expand Up @@ -257,14 +248,8 @@ if [[ -f /root/.fxBlox_custom_script_service ]]; then
fi
fi

sudo systemctl start docker.socket
sleep 1
sudo systemctl start docker.service
sleep 1
sudo systemctl start uniondrive.service
sleep 1
sudo systemctl start fula.service
sleep
usermod -aG docker your-username

rm -f /root/.fxBlox_custom_script_service
sync
sleep 1
Expand Down

0 comments on commit d6a257d

Please sign in to comment.