fatsheep
September 9th, 2006, 06:36 PM
Unfortunately, in order to get sound to work in enemy territory, I have to run these commands in a terminal before hand:
sudo -s
killall esd
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
This can get annoying so I thought I'd make a shell script to automate the process:
#!/bin/sh
sudo -s
killall esd
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
et
The file is named "enemy territory start". When I run it in the terminal, all I get is this:
root@fatsheep:~#
So basically only the first line (sudo -s) worked and the rest was ignored. :confused:
sudo -s
killall esd
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
This can get annoying so I thought I'd make a shell script to automate the process:
#!/bin/sh
sudo -s
killall esd
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
et
The file is named "enemy territory start". When I run it in the terminal, all I get is this:
root@fatsheep:~#
So basically only the first line (sudo -s) worked and the rest was ignored. :confused: