Skip to content

Commit

Permalink
add removeMS script
Browse files Browse the repository at this point in the history
  • Loading branch information
km4ack committed Feb 11, 2021
1 parent 5906d6b commit 20403fb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions functions/utility.function
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 20403fb

Please sign in to comment.