diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/local/debroid.sh | 12 | ||||
| -rw-r--r-- | data/local/userinit.sh | 10 |
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 |
