diff options
Diffstat (limited to 'rc')
| -rwxr-xr-x | rc/bin/dmus | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rc/bin/dmus b/rc/bin/dmus new file mode 100755 index 000000000..51950d033 --- /dev/null +++ b/rc/bin/dmus @@ -0,0 +1,10 @@ +#!/bin/rc +if(test -f /mnt/wad/genmidi) + c=(games/dmid '|' games/opl3) +if not + c=(games/midi -c) +if(~ `{file -m $1} audio/mus) + c=(games/mus '<' $1 '|' $c) +if not + c=('<' $1 $c) +eval $c |
