Created
December 26, 2018 20:45
-
-
Save mzpqnxow/a9e38501a73d3dcc049f6290cdd5630a to your computer and use it in GitHub Desktop.
Prevent Debian/Ubuntu from using MDNS
This file contains hidden or 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 | |
# This script assumes a regular user with sudo access | |
SUDO=sudo | |
# If this runs as root, use 'SUDO=' and comment the entry above | |
# SUDO= | |
for package in avahi-daemon avahi-autoipd libavahi-core7 libavahi-gobject0; do | |
sudo apt-get purge $package # Get rid of it | |
sudo apt-mark $package # Mark it so it never comes back again | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment