From 20403fb63b880cf7ef9e21f690db79c7b59aeb30 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Thu, 11 Feb 2021 12:21:48 -0600 Subject: [PATCH] add removeMS script --- functions/utility.function | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/functions/utility.function b/functions/utility.function index 791901f..3f59fed 100644 --- a/functions/utility.function +++ b/functions/utility.function @@ -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 <$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 +}