Skip to content

Commit

Permalink
Add: stopping Libernet notification before installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutfa Ibtihaji Ilham committed Mar 16, 2021
1 parent 09a286e commit fb02d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function add_libernet_environment() {
function install_libernet() {
# stop Libernet before install
if [[ -f "${LIBERNET_DIR}/bin/service.sh" && $(cat "${STATUS_LOG}") != "0" ]]; then
echo -e "Stopping Libernet"
"${LIBERNET_DIR}/bin/service.sh" -ds > /dev/null 2>&1
fi
# removing directories that might contains garbage
Expand Down

0 comments on commit fb02d0e

Please sign in to comment.