d-team_newifi-d2: 重新添加专属 system 文件

This commit is contained in:
Hyy2001X 2021-07-01 21:35:38 +08:00
parent 56a9c1c1ec
commit 10afb4056d
2 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,42 @@
config system
option hostname 'NEWIFI3'
option ttylogin '0'
option log_size '128'
option log_file '/tmp/system.log'
option urandom_seed '0'
option timezone 'CST-8'
option zonename 'Asia/Shanghai'
option conloglevel '8'
option cronloglevel '8'
config timeserver 'ntp'
option enabled '1'
option enable_server '1'
list server 'ntp1.aliyun.com'
list server 'time1.cloud.tencent.com'
list server 'time.ustc.edu.cn'
list server 'cn.pool.ntp.org'
config led
option default '0'
option name 'WAN'
option sysfs 'blue:internet'
option trigger 'switch0'
option port_mask '0x10'
config led
option default '0'
option name 'WIFI-2.4GHz'
option sysfs 'blue:wlan2g'
option trigger 'netdev'
option dev 'wlan0'
option mode 'link tx rx'
config led
option default '0'
option name 'WIFI-5GHz'
option sysfs 'blue:wlan5g'
option trigger 'netdev'
option dev 'wlan1'
option mode 'link tx rx'

View File

@ -18,7 +18,7 @@ Firmware-Diy() {
case "${TARGET_PROFILE}" in
d-team_newifi-d2)
Copy CustomFiles/mac80211.sh package/kernel/mac80211/files/lib/wifi
# Copy CustomFiles/system_${TARGET_PROFILE} package/base-files/files/etc/config system
Copy CustomFiles/system_${TARGET_PROFILE} package/base-files/files/etc/config system
;;
*)
: