Merge "symlink /dev/net/tun -> ../tun" am: 8fda5feb25
Change-Id: I41f02949c240e0a581d0e87b35181644f4faa50f
This commit is contained in:
commit
44f912a654
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ on early-init
|
||||||
# cgroup for system_server and surfaceflinger
|
# cgroup for system_server and surfaceflinger
|
||||||
mkdir /dev/memcg/system 0550 system system
|
mkdir /dev/memcg/system 0550 system system
|
||||||
|
|
||||||
|
# symlink the Android specific /dev/tun to Linux expected /dev/net/tun
|
||||||
|
mkdir /dev/net 0755 root root
|
||||||
|
symlink ../tun /dev/net/tun
|
||||||
|
|
||||||
# set RLIMIT_NICE to allow priorities from 19 to -20
|
# set RLIMIT_NICE to allow priorities from 19 to -20
|
||||||
setrlimit nice 40 40
|
setrlimit nice 40 40
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue