Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
delay android booting for trying ipv6.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjm2473 committed Apr 21, 2019
1 parent 6904b04 commit d2a6c07
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
12 changes: 12 additions & 0 deletions root/etc/init.d/android
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh /etc/rc.common
# 2019 jjm2473 porting openwrt 18.06.2+ to zidoo z9s

START=30

boot() {
touch /android/.coldplug_done
touch /rom/android/.coldplug_done
# fix hostname changed by android
sleep 3
/etc/init.d/system reload
}
3 changes: 0 additions & 3 deletions root/etc/preinit
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/sh
# Copyright (C) 2006-2016 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
# 2019 jjm2473 porting openwrt 18.06.2+ to zidoo z9s

[ -z "$PREINIT" ] && exec /sbin/init

export PATH="/usr/sbin:/usr/bin:/sbin:/bin"

touch /android/.coldplug_done || touch /rom/android/.coldplug_done

. /lib/functions.sh
. /lib/functions/preinit.sh
. /lib/functions/system.sh
Expand Down
1 change: 1 addition & 0 deletions root/etc/rc.d/S30android
1 change: 0 additions & 1 deletion root/etc/rc.d/S96led

This file was deleted.

0 comments on commit d2a6c07

Please sign in to comment.