lyxes
12-02-2010, 21:52
I would like to write a script witch after reboot will automatically start a web radio . Until now I found this script :
#!/bin/sh
killall waveservermain
killall waveserver
/opt/sbin/esd -d /dev/sound/dsp -tcp -public &
...............
chmod +x /opt/etc/init.d/S88waveserver
and this is ok . The problem is that when I want to listen my favorite radio station I have to start putty and type wget -O - http://.... | madplay - --tty-control
I tried something like this :
screen
#!/bin/sh
wget -O - http://.......... | madplay - --tty-control
.... but off course it doesn't work . I hope you got the idea. Please help.
Thank you in advance ! :o
#!/bin/sh
killall waveservermain
killall waveserver
/opt/sbin/esd -d /dev/sound/dsp -tcp -public &
...............
chmod +x /opt/etc/init.d/S88waveserver
and this is ok . The problem is that when I want to listen my favorite radio station I have to start putty and type wget -O - http://.... | madplay - --tty-control
I tried something like this :
screen
#!/bin/sh
wget -O - http://.......... | madplay - --tty-control
.... but off course it doesn't work . I hope you got the idea. Please help.
Thank you in advance ! :o