# ************************************************************ # AltEPG Project Source Code Version Control # $FileID: git::root/hack/emuproxy/startup $ # $Revision: altepg1.0c root 2011-09-17 23:39:32 +0100 Finalising altepg1.0c $ # Description: hack startup script # Emu Proxy # A tool for cleaning up the HTTP output by the Tivo in order to pass through # transparent proxies, etc. # Works in conjunction with a small hack to the emulator to accept the header # "TivoURLBase" which is the base url to give back to the Tivo when specifying # data paths. # Runs by default and is dependent on the # 127::127.0.0.1:8000::: # entry in tclient.conf # IF YOU COMMENT THIS OUT SO IT DOESN'T RUN, YOU MUST EDIT THE "127" entry # in /etc/tclient.conf to reflect the IP and port of the emulator you are using # There is a backup of the original here: /etc/tclient.conf-oztivo # ************************************************************ . /etc/dflt_sysinit.conf . /etc/sysinit.conf . /etc/oztivo.conf if [ "$emuproxy_version" = "2" ]; then # Run emuProxy2 # Usage: %s [-d] [-h] [-l localport] [-L listenAddr] [-s serverip] # [-p serverport] /var/hack/bin/emuProxy2 -s $emulator -p $emulatorport & elif [ "$emuproxy_version" = "3" ]; then # Run emuProxy3 # Usage: %s [-d] [-h] [-l localport] [-L listenAddr] [-s serverip] # [-p serverport] /var/hack/bin/emuProxy3 -s $emulator -p $emulatorport & elif [ "$emuproxy_version" = "ZA" ]; then # Run emuProxyZA # You can change the emulator name/port in /etc/oztivo.conf # For other config changes, do them in /hack/etc/emuProxyZA.conf /var/hack/bin/emuProxyZA -s $emulator -p $emulatorport -d2 > /var/log/emuProxyZA.log 2>&1 & fi