Last active
March 30, 2020 00:01
-
-
Save riskiwah/705101a33020d1e3c24fd29a18ec66db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -x | |
svc=(docker.service containerd.service | |
teamviewerd.service openvpn.service | |
snapd.service snapd.socket cups.service | |
cups-browsed.service zerotier-one.service) | |
echo_start(){ | |
echo "Preparing play some dotes!" | |
} | |
turn_off(){ | |
echo "disable some services" | |
sudo -s -- <<EOF | |
systemctl stop ${svc[@]} | |
echo "done"; | |
EOF | |
} | |
turn_apm(){ | |
python3 $HOME/code/apm_tool/main.py | |
} | |
main(){ | |
turn_off | |
turn_apm | |
echo "Lets burn some MMR!" | |
} | |
main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment