diff --git a/rootdir/init.rc b/rootdir/init.rc index 145f642fd..2ad1c2182 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -163,6 +163,8 @@ on post-fs-data mkdir /data/app-private 0771 system system mkdir /data/app 0771 system system mkdir /data/property 0700 root root + mkdir /data/ssh 0750 root shell + mkdir /data/ssh/empty 0700 root root # create dalvik-cache, so as to enforce our permissions mkdir /data/dalvik-cache 0771 system system @@ -485,3 +487,6 @@ service dumpstate /system/bin/dumpstate -s socket dumpstate stream 0660 shell log disabled oneshot + +service sshd /system/bin/start-ssh + class main