giftzwerg
28.06.04, 21:34
hi
mave2k3 und ich haben uns zusammen gesetzt und ein kleines script gebastelt
#!/bin/bash
if [ 0 = 0 ] ; then
su -c 'echo "et.x86 0 0 direct">/proc/asound/card0/pcm0p/oss && echo "et.x86 0 0 disable">/proc/asound/card0/pcm0c/oss'
fi
echo $?
if [ $? = 0 ] ; then
cd /usr/local/bin
./et
elif [ $? >= 0 ] ; then
echo "Fehler. Konnte Dateien in /proc/asound/card0/ nicht berschreiben"
read
exit 1
fi
exit 0
einfach als shell speichern fertig
wir bitten um feedback ^^ :ugly:
mave2k3 und ich haben uns zusammen gesetzt und ein kleines script gebastelt
#!/bin/bash
if [ 0 = 0 ] ; then
su -c 'echo "et.x86 0 0 direct">/proc/asound/card0/pcm0p/oss && echo "et.x86 0 0 disable">/proc/asound/card0/pcm0c/oss'
fi
echo $?
if [ $? = 0 ] ; then
cd /usr/local/bin
./et
elif [ $? >= 0 ] ; then
echo "Fehler. Konnte Dateien in /proc/asound/card0/ nicht berschreiben"
read
exit 1
fi
exit 0
einfach als shell speichern fertig
wir bitten um feedback ^^ :ugly: