aboutsummaryrefslogtreecommitdiffstats
path: root/su/install-su.sh
diff options
context:
space:
mode:
Diffstat (limited to 'su/install-su.sh')
-rw-r--r--su/install-su.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/su/install-su.sh b/su/install-su.sh
index aad003e..1ea4288 100644
--- a/su/install-su.sh
+++ b/su/install-su.sh
@@ -12,9 +12,7 @@ then
# check for rom su daemon before clobbering install-recovery.sh
if [ ! -f "/system/etc/.has_su_daemon" ]
then
- echo -n -e 'ui_print Installing Superuser daemon...\n' > /proc/self/fd/$2
- echo -n -e 'ui_print\n' > /proc/self/fd/$2
- cp install-recovery.sh /system/etc/install-recovery.sh
+ cp /sbin/run-su-daemon.sh /system/etc/install-recovery.sh
chmod 755 /system/etc/install-recovery.sh
# note that an post install su daemon was installed
# so recovery doesn't freak out and recommend you disable