summaryrefslogtreecommitdiff
path: root/data/local/debroid.sh
blob: dac5f17d41969621ca71a5120eb31eec15476317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

log=/data/local/debroid.out
err=/data/local/debroid.err

/system/bin/date > $log

while : ; do
  /system/xbin/mountpoint /storage/sdcard1
  if [ $? -eq 0 ]; then
    cd /storage/sdcard1/Linux
    /system/bin/sh jessie.sh start_services >> $log 2> $err
    /system/bin/date >> $log
    exit 0
  fi
  /system/bin/sleep 1
done