Merge pull request 'Set Door audio volume to 70%' (#370) from platon-door-audio into master
Reviewed-on: Netz39_Admin/netz39-infra-ansible#370 Reviewed-by: dkdent <dkdent@netz39.de>
This commit is contained in:
commit
faab6f46db
1 changed files with 3 additions and 1 deletions
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games'
|
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'
|
echo 'start i2c-foo'
|
||||||
sudo modprobe i2c_dev
|
sudo modprobe i2c_dev
|
||||||
sudo modprobe i2c_bcm2708
|
sudo modprobe i2c_bcm2708
|
||||||
echo 'starting log'
|
echo 'starting log'
|
||||||
tmux new-session -s status -d 'sudo less /var/log/shuttercontrol.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'
|
echo 'switch-on.sh'
|
||||||
../switch-on.sh
|
../switch-on.sh
|
||||||
cd /home/pi
|
cd /home/pi
|
||||||
|
|
Loading…
Reference in a new issue