#!/bin/sh

source "$1/Contents/Resources/common"

status_install="yes"

until [ "x${status_install}" = "x" ]
do

status_install=""

Installers=$(ps -axc|grep "Installer")

for _install in $Installers; do
 
 if [ "x${_install}" = "xInstaller" ]; then
	status_install="yes"
 fi

done

sleep 1

done

if [ -e ZTEUSBFilter ]; then
  cp "$FilterPath" /tmp

  /tmp/ZTEUSBFilter &

  sleep 2
fi
#########################################
mv "$dst_demon_tmp" "$dst_demon" 
#########################################
open "$dst_demon" &

