[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/Script/scripts/pppd_up.sh b/ap/app/Script/scripts/pppd_up.sh
new file mode 100755
index 0000000..db1ba09
--- /dev/null
+++ b/ap/app/Script/scripts/pppd_up.sh
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# $Id: lan.sh
+#
+path_sh=`nv get path_sh`
+. $path_sh/global.sh
+
+pppd_auth=`nv get pppd_auth`
+dev_name=$1
+echo "name is $1"
+aa=`echo $dev_name | sed 's/\//\\\\\//g'`
+echo "aa is $aa"
+echo "Info:start pppd!" >> $test_log
+if [ "$pppd_auth" == "auth" ]; then
+	cp $path_ro/options.auth $path_conf/options
+	cp $path_ro/pap-secrets $path_conf/pap-secrets
+	cp $path_ro/chap-secrets $path_conf/chap-secrets
+	sed  -i -e "s/#dev_name#/$aa/g" $path_conf/options
+	sed  -i -e "s/#dev_name#/$aa/g" $path_conf/options
+	killall -9 pppd
+	pppd &
+elif [ "$pppd_auth" == "noauth" ]; then
+	cp $path_ro/options.noauth $path_conf/options
+	sed  -i -e "s/#dev_name#/$aa/g" $path_conf/options
+	sed  -i -e "s/#dev_name#/$aa/g" $path_conf/options
+	killall -9 pppd
+	pppd &
+fi