aboutsummaryrefslogtreecommitdiff
path: root/.scripts/airplay
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/airplay')
-rwxr-xr-x.scripts/airplay8
1 files changed, 6 insertions, 2 deletions
diff --git a/.scripts/airplay b/.scripts/airplay
index c01099d..1bf2c26 100755
--- a/.scripts/airplay
+++ b/.scripts/airplay
@@ -1,6 +1,10 @@
#!/bin/env sh
-sudo systemctl start avahi-daemon
-sleep 1
+#sudo ufw disable
+sudo systemctl restart avahi-daemon
+echo "started avahi, waiting..."
+sleep 5
uxplay -n melvin -nh -p
sudo systemctl stop avahi-daemon
+#sudo ufw enable
+echo "stopped avahi"