and with this command every push on on button at speakers the radio starts play!
now after i update to 18.6 with the same command it doesnt play!
it plays only if i go to putty and put manually the command
Full path would be for example /usr/bin/mpg123. Use the which command to find the full path:
root@OpenWrt:~# which mpg123
It's usually best to use the full path for everything in scripts because you can't be sure what the script's working directory and environment (particularly PATH=) will be when it is launched automatically by another process.
Setting up triggerhappy is beyond the scope of this forum. It's a standard Linux thing. There was a long thread here by someone who set up several variations of Internet radios on OpenWrt, including button controls.