#!/bin/bash

#apt-get update
#dpkg -l | grep flussonic
#dpkg -i flussonic-erlang_24.0.6.3_all.deb
#dpkg -i flussonic-python_21.11.3_amd64.deb
#dpkg -i flussonic-transcoder-base_22.04.3_all.deb
#dpkg -i flussonic-transcoder_22.04.3_all.deb
#dpkg -i flussonic-deprecated_22.06_all.deb
#dpkg -i flussonic-qsv_21.07.1_all.deb
#dpkg -i flussonic_22.07.1_all.deb
sudo dpkg -i *.deb
cp flussonic.conf /etc/flussonic
        hosts="/etc/hosts"
        localhost="127.0.0.1"

        echo "" >> $hosts
        echo "# Flussonic Crack" >> $hosts
        echo "$localhost a-yurchenko.erlyvideo.org" >> $hosts
        echo "$localhost admin.erlyvideo.org" >> $hosts
        echo "$localhost almatel.flussonic.com" >> $hosts
        echo "$localhost amsterdam.flussonic.cloud" >> $hosts
        echo "$localhost amsterdam.flussonic.com" >> $hosts
        echo "$localhost apt.flussonic.com" >> $hosts
        echo "$localhost arm2.erlyvideo.org" >> $hosts
        echo "$localhost chat.flussonic.com" >> $hosts
        echo "$localhost coder-pinghome.flussonic.com" >> $hosts
        echo "$localhost dc-f4bdeaf7a9a7.flussonic111.com" >> $hosts
        echo "$localhost debian.erlyvideo.org" >> $hosts
        echo "$localhost demo-ca.flussonic.com" >> $hosts
        echo "$localhost demo-cdn.flussonic.com" >> $hosts
        echo "$localhost demo-watcher-s1.flussonic.com" >> $hosts
        echo "$localhost demo-watcher-s2.flussonic.com" >> $hosts
        echo "$localhost demo-watcher-s3.flussonic.com" >> $hosts
        echo "$localhost demo-watcher-s4.flussonic.com" >> $hosts
        echo "$localhost demo-watcher.flussonic.com" >> $hosts
        echo "$localhost demo.erlyvideo.org" >> $hosts
        echo "$localhost demo.flussonic.com" >> $hosts
        echo "$localhost dev.erlyvideo.org" >> $hosts
        echo "$localhost docs.erlyvideo.org" >> $hosts
        echo "$localhost docs.flussonic.com" >> $hosts
        echo "$localhost email.erlyvideo.org" >> $hosts
        echo "$localhost erlyvideo.org" >> $hosts
        echo "$localhost flussonic.cloud" >> $hosts
        echo "$localhost flussonic.com" >> $hosts
		echo "$localhost flussonic.ru" >> $hosts
        echo "$localhost flussonic111.com" >> $hosts
        echo "$localhost forum.flussonic.com" >> $hosts
        echo "$localhost frankfurt.flussonic.cloud" >> $hosts
        echo "$localhost gate.flussonic111.com" >> $hosts
        echo "$localhost installation-demo.flussonic.com" >> $hosts
        echo "$localhost l6-presence.erlyvideo.org" >> $hosts
        echo "$localhost l6-presence.flussonic.cloud" >> $hosts
        echo "$localhost license.flussonic.com" >> $hosts
        echo "$localhost license4-1.erlyvideo.org" >> $hosts
        echo "$localhost license4-2.erlyvideo.org" >> $hosts
        echo "$localhost license4-3.erlyvideo.org" >> $hosts
        echo "$localhost license4-4.erlyvideo.org" >> $hosts
        echo "$localhost license4.erlyvideo.org" >> $hosts
        echo "$localhost license4.flussonic.com" >> $hosts
        echo "$localhost log-uploader.flussonic.com" >> $hosts
        echo "$localhost mail.erlyvideo.org" >> $hosts
        echo "$localhost manage.erlyvideo.org" >> $hosts
        echo "$localhost manage.flussonic.com" >> $hosts
        echo "$localhost maskingbox.flussonic.com" >> $hosts
        echo "$localhost moscow.flussonic.cloud" >> $hosts
        echo "$localhost my.flussonic.com" >> $hosts
        echo "$localhost my.retroview.local" >> $hosts
        echo "$localhost new-york.flussonic.cloud" >> $hosts
        echo "$localhost o1.ptr8147.email.flussonic.com" >> $hosts
        echo "$localhost origin11.flussonic111.com" >> $hosts
        echo "$localhost origin12.flussonic111.com" >> $hosts
        echo "$localhost retroview.erlyvideo.org" >> $hosts
        echo "$localhost retroview.flussonic.com" >> $hosts
        echo "$localhost retroview.flussonic111.com" >> $hosts
        echo "$localhost rv-ams.flussonic.cloud" >> $hosts
        echo "$localhost rv-collect.flussonic.cloud" >> $hosts
        echo "$localhost rv-s2.flussonic.cloud" >> $hosts
        echo "$localhost rv-s3.flussonic.cloud" >> $hosts
        echo "$localhost rv-zk1.flussonic.cloud" >> $hosts
        echo "$localhost rv-zk2.flussonic.cloud" >> $hosts
        echo "$localhost rv-zk3.flussonic.cloud" >> $hosts
        echo "$localhost seattle.flussonic.cloud" >> $hosts
        echo "$localhost sentry.flussonic.com" >> $hosts
        echo "$localhost singapore.flussonic.cloud" >> $hosts
        echo "$localhost ssh.flussonic.com" >> $hosts
        echo "$localhost support.erlyvideo.org" >> $hosts
        echo "$localhost sydney.flussonic.cloud" >> $hosts
        echo "$localhost ua2.flussonic111.com" >> $hosts
        echo "$localhost url8884.flussonic.com" >> $hosts
        echo "$localhost watcher.flussonic.com" >> $hosts
        echo "$localhost webrtc-s1.flussonic.com" >> $hosts
        echo "$localhost webrtc.flussonic.com" >> $hosts
        echo "$localhost www.erlyvideo.org" >> $hosts
        echo "$localhost www.flussonic.cloud" >> $hosts
        echo "$localhost www.flussonic.com" >> $hosts
        echo "$localhost www.flussonic111.com" >> $hosts
        echo "$localhost www.maskingbox.flussonic.com" >> $hosts
        echo "$localhost www.watcher.flussonic.com" >> $hosts
        echo "$localhost wz.flussonic111.com" >> $hosts

echo 127.0.0.1 license4.erlyvideo.org license4-1.erlyvideo.org license4-2.erlyvideo.org license4.flussonic.com debian.erlyvideo.org apt.flussonic.com pulse.erlyvideo.org erlyvideo.ru erlyvideo.org >> /etc/hosts
service flussonic restart

