aboutsummaryrefslogtreecommitdiff
path: root/.scripts/airplay
diff options
context:
space:
mode:
authorMarvin Borner2023-03-17 18:24:01 +0100
committerMarvin Borner2023-03-17 18:24:01 +0100
commita8a6c3a400174cf476ec8e75bb2e5a5b0afb34da (patch)
treef7fa93658fffd6dd7f8fd664f907fb1a8f3da772 /.scripts/airplay
parent031698ddaa8d7f8224358932b8e69e7f22d43963 (diff)
Script sync
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"