Last active
June 14, 2018 11:27
-
-
Save Porco-Rosso/9e191b17cf530712a0d13496bff06b66 to your computer and use it in GitHub Desktop.
script to enable .local mDNS/bonjour service
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 | |
# This script is to enable bonjour/mDNS services on a debian based system. | |
# Run as root because YOLO | |
# execute by running: | |
# bash <(curl -s https://gist.githubusercontent.com/Porco-Rosso/9e191b17cf530712a0d13496bff06b66/raw/1ee56884a43683eb722baf9661e898de34f98a02/bonjour.sh) | |
# Script to configure /etc/network/interfaces | |
printf "\033[1;31mUpdating apt-get cache\033[0m\n" | |
apt-get update | |
printf "\033[1;31mTeaching computer to speak french\033[0m\n" | |
apt-get install avahi-daemon -y | |
printf "\033[1;31mBonjour Monde!\033[0m\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment