aboutsummaryrefslogtreecommitdiff
path: root/runit/startupsound/run
diff options
context:
space:
mode:
Diffstat (limited to 'runit/startupsound/run')
-rwxr-xr-xrunit/startupsound/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/runit/startupsound/run b/runit/startupsound/run
new file mode 100755
index 0000000..b625d63
--- /dev/null
+++ b/runit/startupsound/run
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+sv start agetty-tty2 || exit 1
+
+mpv --audio-device='<DESIRED_AUDIO_DEVICE>' --volume=100 --really-quiet /home/yaroslav/.local/share/soundalerts/start.ogg&
+
+exec chpst -b startupsound pause