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

Commit

Permalink
Merge branch 'z9s_luci' into x9s
Browse files Browse the repository at this point in the history
* z9s_luci:
  fix package status.
  add disk utils.
  add luci-app-diskmanager
  hold lua version.
  lua switch to 64bit version.
  fix aria2 config auto load.
  delay android booting for trying ipv6.
  dont show led page.
  install aria2
  fix tar file list
  fix tar file list.
  • Loading branch information
jjm2473 committed May 11, 2019
2 parents 21ff305 + 3872517 commit d11b915
Show file tree
Hide file tree
Showing 158 changed files with 7,368 additions and 189 deletions.
2 changes: 1 addition & 1 deletion overlay_pack.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# use opkg offline mode `opkg -o / -f /etc/opkg.conf install ??` to install, then
# run this on device /overlay/upper/ to package
find etc/init.d/ -type f|xargs -n1 sh -c '/$0 enable'
find -type f -o -type l|grep -v ./mnt|grep -v ./root/|grep -v dropbear_rsa_host_key|grep -v urandom.seed|grep -v board.json|grep -v ./etc/config/|grep -v ./etc/samba/|xargs tar -czf /tmp/update.tar.gz
find -type f -o -type l|grep -v ./mnt|grep -v ./root/|grep -v dropbear_rsa_host_key|grep -v urandom.seed|grep -v board.json|grep -v ./etc/config/|grep -v ./etc/samba/|tar -czf /tmp/update.tar.gz -T -
31 changes: 31 additions & 0 deletions root/etc/config/aria2
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# You can use most aria2 command-line options, replace '-' with '_'.
# eg. 'rpc-secret' ==> 'rpc_secret'
#
# We do not support all options at this time. But you can add any option
# with 'list extra_settings'.
#
# You can also add new config sections to define multi instance.
#
config aria2 'main'
option enabled '0'
option user 'nobody'
option dir '/mnt/sataa1'
option config_dir '/var/etc/aria2'
option bt_enable_lpd 'true'
option enable_dht 'true'
option follow_torrent 'true'
option file_allocation 'none'
option save_session_interval '30'

# Add addition Headers here.
# eg. list header 'Content-Encoding: gzip'
list header ''

# Add BT trackers here.
# eg. list bt_tracker 'http://tracker.example.com/announce'
list bt_tracker ''

# Add extra settings here.
# eg. list extra_settings 'option=value'
list extra_settings ''
18 changes: 18 additions & 0 deletions root/etc/config/mdadm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
config mdadm
option email root
# list devices /dev/hd*
# list devices /dev/sd*
# list devices partitions

config array
option uuid 52c5c44a:d2162820:f75d3464:799750f8
option device /dev/md0
# option name raid:0
# option super_minor 0
# list devices /dev/sda1
# list devices /dev/sdb1
# option spares 0
# option spare_group spares
# option bitmap /bitmap.md
# option container 00000000:00000000:00000000:00000000
# option member 1
3 changes: 3 additions & 0 deletions root/etc/config/ucitrack
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ config minidlna 'minidlna'

config transmission
option init 'transmission'

config aria2
option init 'aria2'
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
}
Loading

0 comments on commit d11b915

Please sign in to comment.