Skip to content

Instantly share code, notes, and snippets.

@Porco-Rosso
Last active June 14, 2018 11:27
Show Gist options
  • Save Porco-Rosso/9e191b17cf530712a0d13496bff06b66 to your computer and use it in GitHub Desktop.
Save Porco-Rosso/9e191b17cf530712a0d13496bff06b66 to your computer and use it in GitHub Desktop.
script to enable .local mDNS/bonjour service
#! /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