Changes between Version 13 and Version 14 of notes/android
- Timestamp:
- 2017-11-26T04:28:20Z (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
notes/android
v13 v14 19 19 7 8 9 20 20 }}} 21 22 [[br]] 23 == отключение `ipv6` для экономии батареи 24 `/system/etc/init.d/02net`: 25 {{{#!bash 26 #!/system/bin/sh 27 chmod 666 /proc/sys/net/ipv6/conf/all/disable_ipv6; 28 chmod 666 /proc/sys/net/ipv6/conf/default/disable_ipv6; 29 echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6; 30 echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6; 31 /system/bin/ip6tables -P INPUT DROP; 32 /system/bin/ip6tables -P OUTPUT DROP; 33 /system/bin/ip6tables -P FORWARD DROP; 34 }}}