From 0695984e6ad38c6db4ceed25b29e79cc4de2b571 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Wed, 1 May 2024 12:26:59 +0200 Subject: [PATCH] Set Door audio volume to 70% --- files/platon/reboot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/platon/reboot.sh b/files/platon/reboot.sh index f05d0c6..269d3af 100755 --- a/files/platon/reboot.sh +++ b/files/platon/reboot.sh @@ -1,11 +1,13 @@ #!/bin/sh PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games' +echo 'set PCM volume' +sudo amixer set "PCM" "70%" echo 'start i2c-foo' sudo modprobe i2c_dev sudo modprobe i2c_bcm2708 echo 'starting log' tmux new-session -s status -d 'sudo less /var/log/shuttercontrol.log' -cd /home/pi/netz39_rollladensteuerung/raspberry/shuttercontrol +cd /home/pi/netz39_rollladensteuerung/raspberry/shuttercontrol echo 'switch-on.sh' ../switch-on.sh cd /home/pi