#!/bin/ash
#https://centos.pkgs.org/6/centos-updates-x86_64/firefox-52.4.0-1.el6.centos.x86_64.rpm.html
#https://copr-be.cloud.fedoraproject.org/results/leigh123linux/firefox-gtk2/fedora-26-x86_64/00165659-firefox/
which pulseaudio || a=apulse
#flash-test libflashplayer
#flash-test ffmpeg
[ -x /usr/lib/firefox/firefox ] && f=/usr/lib/firefox/firefox || f=/opt/firefox/firefox
LD_LIBRARY_PATH="/opt/ffmpeg/lib:/usr/lib/firefox/lib:/opt/pulseaudio/lib" exec $a $f "$@" &


