1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-30 03:08:20 +00:00

now that it connects to simplesshd (which is not root), we have to use am

start instead of pm install
This commit is contained in:
Greg Alexander 2014-12-21 22:55:58 -05:00
parent 1412edbee7
commit c6a8c7f730

2
doit
View File

@ -3,4 +3,4 @@ mv libs/armeabi/scp libs/armeabi/libscp.so &&
mv libs/armeabi/sftp-server libs/armeabi/libsftp-server.so &&
mv libs/armeabi/rsync libs/armeabi/librsync.so &&
ant debug &&
cat bin/SimpleSSHD-debug.apk | ssh roach 'cat > /sdcard/buh.apk; source .profile; pm install -r /sdcard/buh.apk'
cat bin/SimpleSSHD-debug.apk | ssh roach 'cat > /sdcard/buh.apk; source .profile; am start --user 0 -d file:///sdcard/buh.apk'