summaryrefslogtreecommitdiff
path: root/data/local/debroid.sh
blob: 47a950581b7ae8b07859d51b162bd163aabc0c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/system/bin/sh

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