aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2009-09-18 10:35:26 +0800
committerChia-chi Yeh <chiachi@android.com>2009-09-21 11:47:02 +0800
commit9b4f1ff210c449920890581b191da3568c10fbd1 (patch)
treeed6bedbf237eea92cf5fcc8bbae4fa098c38b6e2 /rootdir
parent1320687bdb6df2de1c27fb03c827b69384d26f87 (diff)
downloadsystem_core-9b4f1ff210c449920890581b191da3568c10fbd1.tar.gz
system_core-9b4f1ff210c449920890581b191da3568c10fbd1.tar.bz2
system_core-9b4f1ff210c449920890581b191da3568c10fbd1.zip
init.rc: specify keystore directory and fix permissions.
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index f9728ee1..034e378b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -103,7 +103,7 @@ loglevel 3
# create basic filesystem structure
mkdir /data/misc 01771 system misc
mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
- mkdir /data/misc/keystore 0770 keystore keystore
+ mkdir /data/misc/keystore 0700 keystore keystore
mkdir /data/misc/vpn 0770 system system
mkdir /data/misc/vpn/profiles 0770 system system
# give system access to wpa_supplicant.conf for backup and restore
@@ -336,7 +336,7 @@ service flash_recovery /system/etc/install-recovery.sh
service racoon /system/bin/racoon
socket racoon stream 600 system system
# racoon will setuid to vpn after getting necessary resources.
- group net_admin keystore
+ group net_admin
disabled
oneshot
@@ -347,7 +347,7 @@ service mtpd /system/bin/mtpd
disabled
oneshot
-service keystore /system/bin/keystore
+service keystore /system/bin/keystore /data/misc/keystore
user keystore
group keystore
socket keystore stream 666