summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPaul Buetow (uranus) <paul@buetow.org>2015-12-05 13:21:36 +0000
committerPaul Buetow (uranus) <paul@buetow.org>2015-12-05 13:21:36 +0000
commit7ef975956cb21cc8410966e366736bdcb0bc2b95 (patch)
tree41e6fde7ef0a5ec9919147b31adfe70dca195092 /data
parenta5542b650fb4bea4b9cf5bbd62bee7ebbbf18ba0 (diff)
add android 6 debroid
Diffstat (limited to 'data')
-rw-r--r--data/local/debroid.sh12
-rw-r--r--data/local/userinit.sh10
2 files changed, 10 insertions, 12 deletions
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