1 #!/bin/sh 2 3 # A simple script to facilitate the use of the OSS compatibility library. 4 # Usage: 5 # aoss <command> <command options and arguments> 6 7 if [ -d /proc/asound ]; then 8 prefix=@prefix@ 9 exec_prefix=@exec_prefix@ 10 LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" 11 else 12 exec "$@" 13 fi 14 exit 1