05-13-2018, 09:07 PM
(This post was last modified: 05-14-2018, 01:07 PM by Tim Curtis.
Edit Reason: correct syntax of vol.sh command
)
If I get more requests for this I can add to the TODO list.
If you want to try a workaround then just set your desired volume level in the restart.sh script. I used the value 50 in the example below.
sudo nano /var/local/www/commandw/restart.sh
Add the following line of code after 'mpc stop' in the "reboot" and "power off" code blocks.
/var/www/vol.sh 50
-Tim
If you want to try a workaround then just set your desired volume level in the restart.sh script. I used the value 50 in the example below.
sudo nano /var/local/www/commandw/restart.sh
Add the following line of code after 'mpc stop' in the "reboot" and "power off" code blocks.
/var/www/vol.sh 50
-Tim