1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/ash [ -z "$SLX_PXE_CLIENT_IP" ] && . /opt/openslx/config if [ -n "$SLX_PREFERRED_SOUND_OUTPUT" ] \ && [ "${SLX_PREFERRED_SOUND_OUTPUT}" != "SOUNDCARD" ]; then ( sleep 5 /opt/openslx/bin/pavucontrol-slx -o "$SLX_PREFERRED_SOUND_OUTPUT" ) & fi # run the background daemon that increases volume for everything /opt/openslx/bin/pavucontrol-slx -w & true