3 if ! [ -d /srv/ultimate/opptak ]; then
4 # sudo mount /dev/sda1 /srv/ultimate
5 sudo mount /dev/disk/by-uuid/5ba6626a-7539-4b43-a9e1-b13243f1abdf /srv/ultimate
8 if ! pidof ssh > /dev/null; then
9 echo "Set up SSH forwarding forwarding before running this script:"
10 echo " ssh -R 9095:127.0.0.1:9095 stream@pannekake.samfundet.no"
15 for DEV in $( ip link | grep UP | cut -d" " -f2 | cut -d: -f1 | grep -v lo ); do
16 sudo tc qdisc add root dev $DEV fq
18 echo bbr | sudo tee /proc/sys/net/ipv4/tcp_congestion_control
21 if ! pidof ultimatescore > /dev/null; then
22 urxvt -e /home/sesse/dev/ultimatescore/client/ultimatescore &
26 ( cd /home/sesse/dev/nageru &&
28 --va-display /dev/dri/renderD129 \
30 -r /srv/ultimate/opptak \
33 --midi-mapping=akai_midimix.midimapping \
38 --http-audio-codec aac \
40 --http-audio-bitrate 128 \
41 --http-coarse-timebase \
43 -m 0,2 -m 1,3 -m 2,4 -m 3,5 -m 4,0 -m 5,1
47 #--output-buffer-frames 8.0