add removeMS script

pull/222/head
KM4ACK 2021-02-11 12:21:48 -06:00
rodzic 5906d6b5ae
commit 20403fb63b
1 zmienionych plików z 28 dodań i 0 usunięć

Wyświetl plik

@ -456,5 +456,33 @@ EOF
sudo mv gpsupdate.desktop /usr/share/applications/
}
##################################
# removeMS Tool
##################################
REMOVEMS(){
#download the file
cd $HOME/bin
wget https://raw.githubusercontent.com/km4ack/pi-scripts/master/removeMS
chmod +x $HOME/bin/removeMS
#place user directions on desktop
cat <<EOF>$HOME/Desktop/Block-Microsoft.txt
You have chosen to install the removeMS
script which will block the Pi from accessing
the Microsoft repository. The block has not
been applied yet. To apply the block, open a
terminal window and run the following command:
removeMS
You only need to perform the block one time for
each Pi. You can delete the removeMS script
from your system by running:
rm ~/bin/removeMS
More information is available in this video
https://youtu.be/I7jLVgnnUW0
EOF
}