aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrunit/powertune/run5
-rwxr-xr-xrunit/startupsound/run7
2 files changed, 12 insertions, 0 deletions
diff --git a/runit/powertune/run b/runit/powertune/run
new file mode 100755
index 0000000..ce203cf
--- /dev/null
+++ b/runit/powertune/run
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+powertop --auto-tune
+
+exec chpst -b powertune pause
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