为 newifi-d2 创建单独的 system 文件
This commit is contained in:
parent
8064148207
commit
b78dae5bb1
|
@ -0,0 +1,16 @@
|
|||
|
||||
config system
|
||||
option hostname 'OpenWrt'
|
||||
option ttylogin '0'
|
||||
option log_size '64'
|
||||
option urandom_seed '0'
|
||||
option timezone 'CST-8'
|
||||
option zonename 'Asia/Shanghai'
|
||||
|
||||
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'
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
config system
|
||||
option hostname 'OpenWrt'
|
||||
option ttylogin '0'
|
||||
option log_size '64'
|
||||
option urandom_seed '0'
|
||||
option timezone 'CST-8'
|
||||
option zonename 'Asia/Shanghai'
|
||||
|
||||
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 'led_internet'
|
||||
option name 'internet'
|
||||
option trigger 'switch0'
|
||||
option port_mask '0x10'
|
||||
option sysfs 'newifi-d2:blue:internet'
|
||||
option default '0'
|
||||
|
||||
config led 'led_wlan2g'
|
||||
option name 'WiFi 2.4GHz'
|
||||
option sysfs 'newifi-d2:blue:wlan2g'
|
||||
option trigger 'netdev'
|
||||
option mode 'link tx rx'
|
||||
option default '0'
|
||||
option dev 'wlan0'
|
||||
|
||||
config led 'led_wlan5g'
|
||||
option name 'WiFi 5GHz'
|
||||
option sysfs 'newifi-d2:blue:wlan5g'
|
||||
option trigger 'netdev'
|
||||
option mode 'link tx rx'
|
||||
option default '0'
|
||||
option dev 'wlan1'
|
||||
|
Loading…
Reference in New Issue