add monitor control support (#110)

* add monitor control support

* removed useless code
This commit is contained in:
Masoko
2024-05-07 22:07:53 +03:00
committed by GitHub
parent 6a1aff74ec
commit 0d1ae214e3
3 changed files with 33 additions and 3 deletions

View File

@@ -47,7 +47,6 @@ print_yellow(){
}
check_and_install_pip(){
pip_ver=$(${python} -m pip --version 2>&1);
if [[ "$pip_ver" == *"No"* ]]; then
echo "- Pip is not installed, installing it."
@@ -100,6 +99,8 @@ update_config(){
esac
fi
user=$(whoami)
sed -i "s/os_user_to_be_replaced/${user}/" src/config.py
print_green "+ Copy config.py.example to config.py"
cp src/config.py.example src/config.py