parent
263b93b392
commit
be5caf8ff1
4 changed files with 15 additions and 12 deletions
@ -1,3 +1,6 @@ |
|||||||
#!/bin/sh |
#!/bin/sh |
||||||
/lib/ld-linux-x86-64.so.2 "$1" |
# XXX: only works if .interp is numbered < 10 (readelf output is retarded to parse because of the [<nr>] with space padding) |
||||||
|
INTERP=`readelf -SW "$1" | grep .interp | awk '{print "dd if='$1' of=/proc/self/fd/1 bs=1 count=$[0x" $7 "] skip=$[0x" $6 "]"}' | sh 2>/dev/null` |
||||||
|
|
||||||
|
exec "$INTERP" "$@" |
||||||
|
|
||||||
|
@ -1,6 +0,0 @@ |
|||||||
#!/bin/sh |
|
||||||
echo "Setting up pulseaudio tunnels for the G930 Headset" |
|
||||||
echo -n "G930 Sink Tunnel: " |
|
||||||
pactl load-module module-tunnel-sink-new server=10.66.64.4 sink=alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo sink_name=tunnel.arch.g930 sink_properties=\"device.description=\'G930 Headset\'\" |
|
||||||
echo -n "G930 Source Tunnel: " |
|
||||||
pactl load-module module-tunnel-source-new server=10.66.64.4 source=alsa_input.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-mono source_name=tunnel.arch.g930 source_properties=\"device.description=\'G930 Headset\'\" |
|
Loading…
Reference in new issue