# user custom  
app_name_prefix="Fido Connection Manager"
# external version number
swVersion="FIDOPC_MacM06V1.0.0B04"
# internal version number
swRevision="FIDOPC_MacM06V1.0.0B05"
swCopyRight=""
# Last revison date
swRevisionDate="D20091113"

# if support auto-run feature
support_mac_autorun=YES # YES or  NO

# support how many languages
support_languages="English.lproj French.lproj"

# user custom configuration file, for example help file , setting.plist.

cfgFiles="English_Help.pdf French_Help.pdf"
cfgLogoOrIconFiles="ProviderLogoPlaceHolder.png "


app_name="$app_name_prefix.app"
app_root="/Applications"
drv_root="/System/Library/Extensions"
drv_names="ZTEUSBCDCACMData.kext ZTEUSBCDCACMControl.kext ZTEUSBMassStorageFilter.kext"
pref_root="/System/Library/ModemList"
recp_root="/Library/Receipts"
inst_comps="app.pkg drv.pkg"
Autorunfile_path="/Library/LaunchAgents"
pkgDir="$1/Contents/Resources"
FilterPath="$pkgDir/ZTEUSBFilter/ZTEUSBFilter"

#
# PPPMonitor
#
PPPMonitor_config="/Library/LaunchDaemons/cn.com.zte.PPPMonitor.plist"
PPPMonitor_file="/Library/Application Support/ZTE/ZTEPPPMonitord"



dst_root="$app_root/$app_name/Contents/Resources"
src_root="$pkgDir/AutorunResource"

########################################
dst_demon_tmp="$dst_root/Mac_SwapperDemon_T.app"
########################################

home_root="/Users"

# add for install autoruntools
login_file="Library/Preferences/loginwindow.plist"

src_demon="$src_root/Mac_SwapperDemon.app"
dst_demon="$dst_root/Mac_SwapperDemon.app"

src_autoruntool="$src_root/autoruntool"
dst_autoruntool="$dst_root/autoruntool"

src_profile="$src_root/zte_monitor_profile.plist"
dst_profile="$pref_root/zte_monitor_profile.plist"
dst_profile_domain="$pref_root/zte_monitor_profile"


#add by paul
src_filter="$pkgDir/ZTEUSBFilter"
dst_filter="$dst_root"
dst_launchDaemons="/Library/LaunchDaemons"
dst_launchAgents="/Library/LaunchAgents"


Is_Support_Languge()
{
	TEMP="$1"
	if [ "X$TEMP" = "X" ]; then
	return 1
	fi
       
	for STR1 in $support_languages; do
	
	if [ "X$STR1" =  "X$TEMP" ]; then
	return 0
	fi

	
	done

	return 1
}



