(OK) init_in_android-x86_64.sh
来源:互联网 发布:数据导出系统 编辑:程序博客网 时间:2024/05/22 09:04
#!/system/bin/sh# execute "sed -i '460a init_in_android-x86_64.sh' /system/etc/init.sh" in android-x86_64-6.0-rc1-0.vdi# Note: /system/xbin/quagga/sbin/init_in_android-x86_64.sh will be called 4 times in /system/etc/init.sh [init, bootcomplete, hci, hci]#--------------------------------------------------------------------# Note: vi /etc/preloaded-classes, #android.net.NetworkPolicyManager# otherwise, can't forward packages#--------------------------------------------------------------------# waiting a while, push init_in_android-x86_64.sh in create_vm(),# due to that init_in_android-x86_64.sh may be exist in android-x86_64-6.0-rc1-[1-252].vdi# if create android-x86_64-6.0-rc1-[1-252].vdi from scratch create, then can delete the following line. #sleep 15 #stop netdipadd=`ifconfig eth0 |awk -F '[ :]+' 'NR==2 {print $4}'`#echo ${ipadd}if [ "${ipadd}" != "112.26.2.5" ]; then#sleep 30#log.sh 1# Note: 112.26.2.[1-254] for android, 112.26.1.[1-254] for docker(centos)# must to change the IP address for every Android# ifconfig eth0 downifconfig eth0 112.26.2.5 netmask 255.255.0.0 upmount -o remount,rw /systemmount -o remount,rw /mkdir -p /opt/android-on-linux/quagga/out/etccp /system/xbin/quagga/etc/zebra.conf /opt/android-on-linux/quagga/out/etc/cp /system/xbin/quagga/etc/ospf6d.conf /opt/android-on-linux/quagga/out/etc/sed -i '21a \ router-id 10.1.0.5' /opt/android-on-linux/quagga/out/etc/ospf6d.conf#pkill zebra#pkill ospf6d#echo 1 > /proc/sys/net/ipv4/ip_forward#sleep 1/system/xbin/quagga/sbin/zebra -d/system/xbin/quagga/sbin/ospf6d -dfiiptables -Fiptables -X#iptables -F -t nat#iptables -X -t nat#iptables -F -t mangle#iptables -X -t mangle#svc wifi disable#svc data disable#log.sh 2echo 1 > /proc/sys/net/ipv4/ip_forward
0 0
- (OK) init_in_android-x86_64.sh
- (OK)(OK) init_in_android-x86_64.sh
- (OK)(OK) seem-tools-init-android-x86_64-6.0-rc1-0.sh
- (OK)(OK) seem-tools_4_vbox-init-android-x86_64-6.0-rc1-0.sh
- (OK) cross_compile_readline_for_android-x86_64-6.0
- (OK)(OK) compile_mongoose_4_android-x86_64-6.0.txt
- (OK) compile_curl_for_android-x86_64-6.0.txt
- (OK)(OK) seem-tools-CLI-manual.sh
- (OK)(OK) seem-tools-auto_create_vm_android.sh
- (OK) init_install_android-x86_64_in_QEMU-KVM.sh
- (OK)(OK) seem-tools-CLI-semi-auto.sh
- (OK)(OK) seem-tools-CLI-semi-auto_4_vbox.sh
- Android-x86_64 - /system/etc/init.sh
- Android-x86_64 - /system/xbin/log.sh
- (OK) [android-x86-6.0-rc1] seem_init.sh
- linux exec /bin/sh shellcode x86 and x86_64
- bazel-0.5.4-installer-linux-x86_64.sh 下载
- (OK) digui-dir-indent.sh——递归
- 手机浏览器唤起微信app支付说明
- 桶排模板
- Java通过SMS短信平台实现发短信功能
- MySQL表类型,字符集知识汇总【MySQL】
- Android 图片选择器
- (OK) init_in_android-x86_64.sh
- Kendo UI常用示例汇总(十五)
- 第十五章 Linux I2C核心、总线与设备驱动
- 在Word、PPT中用什么方法可以插入矩阵
- ZOJ 2112 Dynamic Rankings 树状数组套主席树 动态第K大
- POJ 2154 Color Polya计数法+欧拉函数
- javax.servlet.jsp cannot be resolved to a type
- Tomcat部署Web应用的几种方法
- Java MAC加密算法