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 | |
function patch_apt() { | |
echo "Patching System Auto Update and Auto Upgrade..." | |
sed -i 's/1/0/g' /etc/apt/apt.conf.d/10periodic | |
sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades | |
apt-get clean | |
echo "Auto Update and Auto Upgrade Disabled!!!" | |
} |
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 | |
function install_doctl() { | |
echo "Install doctl" | |
curl -L $(curl -s https://api.github.com/repos/digitalocean/doctl/releases/latest \ | |
| grep browser_download_url \ | |
| grep linux-amd64 \ | |
| cut -d '"' -f 4) \ | |
| tar xvz |
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
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config globals 'globals' | |
option ula_prefix 'fded:6c7d:48c4::/48' |
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/sh | |
for i in eth0.1 eth0.2 eth0.3 eth0.4 eth0.5 eth0.6 wlan0 | |
do | |
ovs-vsctl clear Port $i qos | |
echo -e "\033[0;32m Clear QoS and Queue in $i Successful" | |
done | |
ovs-vsctl --all destroy QoS | |
ovs-vsctl --all destroy Queue | |
echo " " | |
exit 1 |
NewerOlder