Parent Directory
|
Revision Log
add esd sound daemon, nice for network sound card, idea and esd patch from Sven Geggus
| 1 | #!/bin/sh |
| 2 | |
| 3 | . /etc/rc.conf |
| 4 | |
| 5 | case $1 in |
| 6 | autostart) |
| 7 | test x"${esd:-NO}" = x"NO" && exit 0 |
| 8 | exec $0 start |
| 9 | ;; |
| 10 | start) |
| 11 | esd -d /dev/sound/dsp -public -tcp -nobeeps |
| 12 | ;; |
| 13 | stop) |
| 14 | killall esd |
| 15 | ;; |
| 16 | restart) |
| 17 | $0 stop |
| 18 | $0 start |
| 19 | ;; |
| 20 | *) |
| 21 | echo "Usage: $0 {start | stop | restart}" |
| 22 | ;; |
| 23 | esac |
| 24 | exit 0 |
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |