OSDN Git Service
(root)
/
android-x86
/
external-koush-Superuser.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add support for su daemon installation and detection in recovery zip.
[android-x86/external-koush-Superuser.git]
/
Superuser
/
assets
/
install-recovery.sh
1
#!/system/bin/sh
2
mount -orw,remount /
3
mkdir /superuser
4
mount -t tmpfs swap /superuser
5
mount -oro,remount /
6
7
cp /system/xbin/su /superuser
8
chmod 6755 /superuser/su
9
mount -oro,remount /superuser
10
/superuser/su --daemon &