Skip to content

Commit

Permalink
pm2 sourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
inv4fee2020 committed Sep 11, 2023
1 parent 2e2efe2 commit 216d572
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pli_node_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,6 @@ FUNC_NODE_GUI_IPADDR(){
FUNC_EXIT(){
# remove the sudo timeout for USER_ID
sudo sh -c 'rm -f /etc/sudoers.d/plinode_deploy'
exec bash ~/.profile
source ~/.profile
bash ~./profile
exit 0
}
Expand Down
4 changes: 0 additions & 4 deletions reset_pli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,4 @@ sed -i.bak '/export NVM_DIR="$HOME\/\.nvm/d' ~/.bashrc
sed -i '/[ -s "$NVM_DIR/nvm\.sh" ] \&\& \\\. "$NVM_DIR\/nvm\.sh" # This loads nvm/d' ~/.bashrc
sed -i '/[ -s "$NVM_DIR/bash_completion" ] \&\& \\\. "$NVM_DIR\/bash_completion" # This loads nvm bash_completion/d' ~/.bashrc



exec bash ~/.profile
source ~/.profile
bash ~./profile

0 comments on commit 216d572

Please sign in to comment.