summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/property_service.c2
-rw-r--r--rootdir/init.rc7
2 files changed, 3 insertions, 6 deletions
diff --git a/init/property_service.c b/init/property_service.c
index d2f174d79..046b1204b 100644
--- a/init/property_service.c
+++ b/init/property_service.c
@@ -75,8 +75,6 @@ struct {
75 { "wlan.", AID_SYSTEM, 0 }, 75 { "wlan.", AID_SYSTEM, 0 },
76 { "dhcp.", AID_SYSTEM, 0 }, 76 { "dhcp.", AID_SYSTEM, 0 },
77 { "dhcp.", AID_DHCP, 0 }, 77 { "dhcp.", AID_DHCP, 0 },
78 { "vpn.", AID_SYSTEM, 0 },
79 { "vpn.", AID_VPN, 0 },
80 { "debug.", AID_SHELL, 0 }, 78 { "debug.", AID_SHELL, 0 },
81 { "log.", AID_SHELL, 0 }, 79 { "log.", AID_SHELL, 0 },
82 { "service.adb.root", AID_SHELL, 0 }, 80 { "service.adb.root", AID_SHELL, 0 },
diff --git a/rootdir/init.rc b/rootdir/init.rc
index d9ac7a4bc..8dd858f9b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -144,9 +144,8 @@ on post-fs-data
144 mkdir /data/misc/bluetooth 0770 system system 144 mkdir /data/misc/bluetooth 0770 system system
145 mkdir /data/misc/keystore 0700 keystore keystore 145 mkdir /data/misc/keystore 0700 keystore keystore
146 mkdir /data/misc/keychain 0771 system system 146 mkdir /data/misc/keychain 0771 system system
147 mkdir /data/misc/vpn 0770 system system 147 mkdir /data/misc/vpn 0770 system vpn
148 mkdir /data/misc/systemkeys 0700 system system 148 mkdir /data/misc/systemkeys 0700 system system
149 mkdir /data/misc/vpn/profiles 0770 system system
150 # give system access to wpa_supplicant.conf for backup and restore 149 # give system access to wpa_supplicant.conf for backup and restore
151 mkdir /data/misc/wifi 0770 wifi wifi 150 mkdir /data/misc/wifi 0770 wifi wifi
152 chmod 0660 /data/misc/wifi/wpa_supplicant.conf 151 chmod 0660 /data/misc/wifi/wpa_supplicant.conf
@@ -462,8 +461,8 @@ service flash_recovery /system/etc/install-recovery.sh
462service racoon /system/bin/racoon 461service racoon /system/bin/racoon
463 class main 462 class main
464 socket racoon stream 600 system system 463 socket racoon stream 600 system system
465 # racoon will setuid to vpn after getting necessary resources. 464 # IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
466 group net_admin 465 group vpn net_admin
467 disabled 466 disabled
468 oneshot 467 oneshot
469 468