From 7ef975956cb21cc8410966e366736bdcb0bc2b95 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (uranus)" Date: Sat, 5 Dec 2015 13:21:36 +0000 Subject: add android 6 debroid --- data/local/debroid.sh | 12 ------------ data/local/userinit.sh | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 data/local/debroid.sh create mode 100644 data/local/userinit.sh (limited to 'data') diff --git a/data/local/debroid.sh b/data/local/debroid.sh deleted file mode 100644 index 69f91c5..0000000 --- a/data/local/debroid.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/system/bin/sh - -while : ; do - /system/xbin/mountpoint /storage/sdcard1 - if [ $? -eq 0 ]; then - cd /storage/sdcard1/Linux - /system/bin/sh jessie.sh start_services - /system/bin/date - exit 0 - fi - /system/bin/sleep 1 -done diff --git a/data/local/userinit.sh b/data/local/userinit.sh new file mode 100644 index 0000000..48c87a0 --- /dev/null +++ b/data/local/userinit.sh @@ -0,0 +1,10 @@ +#!/system/bin/sh + +while : ; do + if [ -d /storage/sdcard1/Linux/jessie ]; then + cd /storage/sdcard1/Linux && /system/bin/sh jessie.sh start_services + /system/bin/date + exit 0 + fi + /system/bin/sleep 1 +done -- cgit v1.2.3