aredn: remove config files no longer in use consuming flash

clean up 176k of flash space.  Config files include modes
forA P, Client, Mesh_Ap, and ROuter.  Files are no longer
referenced or used.
This commit is contained in:
Joe Ayers 2020-06-27 16:15:48 -07:00 committed by Joe AE6XE
parent 7b3f205ffb
commit 1adcfd77a5
51 changed files with 0 additions and 980 deletions

View File

@ -1,14 +1,5 @@
# This file contains a list of files to retain over a sysupgrade with "Keep Settings" in the GUI.
# This list will be used instead of the list normally used by sysupgrade.
/etc/config.ap/_setup
/etc/config.ap/_setup.dhcp
/etc/config.ap/_setup.ports
/etc/config.client/_setup
/etc/config.client/_setup.dhcp
/etc/config.client/_setup.ports
/etc/config.mesh_ap/_setup
/etc/config.mesh_ap/_setup.dhcp
/etc/config.mesh_ap/_setup.ports
/etc/config.mesh/_setup
/etc/config.mesh/_setup.dhcp.dmz
/etc/config.mesh/_setup.dhcp.nat
@ -18,9 +9,6 @@
/etc/config.mesh/_setup.services.nat
/etc/config.mesh/vtun
/etc/config.mesh/aredn
/etc/config.router/_setup
/etc/config.router/_setup.dhcp
/etc/config.router/_setup.ports
/etc/dropbear/dropbear_dss_host_key
/etc/dropbear/dropbear_rsa_host_key
/etc/dropbear/authorized_keys

View File

@ -1,24 +0,0 @@
wifi_proto = bridge
wifi_mode = ap
wifi_ssid = <NODE>
wifi_txpower = 19
wifi_channel = 6
wifi_chanbw = 20
wifi_distance = 0
wifi_hidden = 0
lan_proto = static
lan_ip = 172.27.1.1
lan_mask = 255.255.255.0
lan_dhcp = 1
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = dhcp
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,25 +0,0 @@
wifi_proto = bridge
wifi_mode = ap
wifi_ssid = <NODE>
wifi_txpower = 19
wifi_channel = 6
wifi_chanbw = 20
wifi_distance = 0
wifi_hidden = 0
lan_proto = static
lan_ip = 172.27.1.1
lan_mask = 255.255.255.0
lan_dhcp = 1
lan_dhcp_noroute = 0
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = dhcp
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,10 +0,0 @@
config dhcp
option interface lan
option start <dhcp_start>
option limit <dhcp_limit>
option leasetime 1h
option ignore <lan_dhcp>
config dhcp
option interface wan
option ignore 1

View File

@ -1,3 +0,0 @@
config dropbear
option PasswordAuth 'on'
option Port '2222'

View File

@ -1,99 +0,0 @@
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option network 'lan'
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name wan
option network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config zone
option name wifi
option network 'wifi'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wifi
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wifi
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config include
option path /etc/firewall.user
config rule
option src wan
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 698
option proto udp
option target ACCEPT
config rule
option src wifi
option dest_port 1978
option proto tcp
option target ACCEPT

View File

@ -1,4 +0,0 @@
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.

View File

@ -1,28 +0,0 @@
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "<lan_intf>"
option proto <lan_proto>
option ipaddr <lan_ip>
option netmask <lan_mask>
option dns "<wan_dns1> <wan_dns2>"
option gateway <lan_gw>
#### WAN configuration
config interface wan
option ifname "<wan_intf>"
option proto <wan_proto>
option ipaddr <wan_ip>
option netmask <wan_mask>
option gateway <wan_gw>
include /etc/aredn_include/swconfig

View File

@ -1,24 +0,0 @@
config 'system'
option 'hostname' '<NODE>'
option 'timezone' '<time_zone>'
config 'timeserver' 'ntp'
list 'server' '<ntp_server>'
option enable_server 0
option enabled 0
config button
option button 'reset'
option action 'released'
option handler '/usr/local/bin/bbhnrecoverymode'
option min '3'
option max '7'
config button
option button 'reset'
option action 'released'
option handler 'firstboot -y && reboot'
option min '12'
option max '20'
include /etc/aredn_include/system_netled

View File

@ -1,13 +0,0 @@
# Server configuration
config uhttpd main
# HTTP listen addresses, multiple allowed
list listen_http 0.0.0.0:8080
list listen_http 0.0.0.0:80
option home /www
option rfc1918_filter 1
option cgi_prefix /cgi-bin
option script_timeout 240
option network_timeout 30
option tcp_keepalive 5
# option config /etc/httpd.conf

View File

@ -1,15 +0,0 @@
config wifi-device radio0
option type mac80211
option channel <wifi_channel>
option chanbw <wifi_chanbw>
option distance <wifi_distance>
include /etc/aredn_include/radio0path
config wifi-iface
option device radio0
option network lan
option mode <wifi_mode>
option ssid "<wifi_ssid>"
option hidden <wifi_hidden>
option encryption none

View File

@ -1,21 +0,0 @@
wifi_proto = dhcp
wifi_mode = sta
wifi_ssid = ubiquiti
wifi_txpower = 27
wifi_distance = 0
lan_proto = static
lan_ip = 172.27.2.1
lan_mask = 255.255.255.0
lan_dhcp = 1
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = disabled
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,22 +0,0 @@
wifi_proto = dhcp
wifi_mode = sta
wifi_ssid = ubiquiti
wifi_txpower = 27
wifi_distance = 0
lan_proto = static
lan_ip = 172.27.2.1
lan_mask = 255.255.255.0
lan_dhcp = 1
lan_dhcp_noroute = 0
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = disabled
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,14 +0,0 @@
config dhcp
option interface lan
option start <dhcp_start>
option limit <dhcp_limit>
option leasetime 1h
option ignore <lan_dhcp>
config dhcp
option interface wan
option ignore 1
config dhcp
option interface wifi
option ignore 1

View File

@ -1,3 +0,0 @@
config dropbear
option PasswordAuth 'on'
option Port '2222'

View File

@ -1,99 +0,0 @@
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option network 'lan'
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name wan
option network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config zone
option name wifi
option network 'wifi'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wifi
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wifi
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config include
option path /etc/firewall.user
config rule
option src wan
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 698
option proto udp
option target ACCEPT
config rule
option src wifi
option dest_port 1978
option proto tcp
option target ACCEPT

View File

@ -1,4 +0,0 @@
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.

View File

@ -1,23 +0,0 @@
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option ifname "<lan_intf>"
option proto <lan_proto>
option ipaddr <lan_ip>
option netmask <lan_mask>
option dns "<wan_dns1> <wan_dns2>"
#### WAN configuration
config interface wan
option ifname "<wifi_intf>"
option proto <wifi_proto>
include /etc/aredn_include/swconfig

View File

@ -1,24 +0,0 @@
config 'system'
option 'hostname' '<NODE>'
option 'timezone' '<time_zone>'
config 'timeserver' 'ntp'
list 'server' '<ntp_server>'
option enable_server 0
option enabled 0
config button
option button 'reset'
option action 'released'
option handler '/usr/local/bin/bbhnrecoverymode'
option min '3'
option max '7'
config button
option button 'reset'
option action 'released'
option handler 'firstboot -y && reboot'
option min '12'
option max '20'
include /etc/aredn_include/system_netled

View File

@ -1,13 +0,0 @@
# Server configuration
config uhttpd main
# HTTP listen addresses, multiple allowed
list listen_http 0.0.0.0:8080
list listen_http 0.0.0.0:80
option home /www
option rfc1918_filter 1
option cgi_prefix /cgi-bin
option script_timeout 240
option network_timeout 30
option tcp_keepalive 5
# option config /etc/httpd.conf

View File

@ -1,12 +0,0 @@
config wifi-device radio0
option type mac80211
option distance <wifi_distance>
include /etc/aredn_include/radio0path
config wifi-iface
option device radio0
option network wan
option mode <wifi_mode>
option ssid "<wifi_ssid>"
option encryption none

View File

@ -1,25 +0,0 @@
wifi_proto = bridge
wifi_mode = ap
wifi_ssid = <NODE>
wifi_txpower = 19
wifi_channel = 6
wifi_chanbw = 20
wifi_distance = 0
wifi_hidden = 0
lan_proto = static
lan_ip = 172.27.0.2
lan_mask = 255.255.255.0
lan_dhcp = 0
lan_gw = 172.27.0.1
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = disabled
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,26 +0,0 @@
wifi_proto = bridge
wifi_mode = ap
wifi_ssid = <NODE>
wifi_txpower = 19
wifi_channel = 6
wifi_chanbw = 20
wifi_distance = 0
wifi_hidden = 0
lan_proto = static
lan_ip = 172.27.0.2
lan_mask = 255.255.255.0
lan_dhcp = 0
lan_gw = 172.27.0.1
lan_dhcp_noroute = 0
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = disabled
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,10 +0,0 @@
config dhcp
option interface lan
option start <dhcp_start>
option limit <dhcp_limit>
option leasetime 1h
option ignore <lan_dhcp>
config dhcp
option interface wan
option ignore 1

View File

@ -1,3 +0,0 @@
config dropbear
option PasswordAuth 'on'
option Port '2222'

View File

@ -1,97 +0,0 @@
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option network 'lan'
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name wan
option network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config zone
option name wifi
option network 'wifi'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest lan
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wifi
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config include
option path /etc/firewall.user
config rule
option src wan
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 698
option proto udp
option target ACCEPT
config rule
option src wifi
option dest_port 1978
option proto tcp
option target ACCEPT

View File

@ -1,4 +0,0 @@
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.

View File

@ -1,25 +0,0 @@
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "<lan_intf>"
option proto <lan_proto>
option ipaddr <lan_ip>
option netmask <lan_mask>
option gateway <lan_gw>
option dns <lan_gw>
#### WAN configuration
config interface wan
option ifname "<wan_intf>"
option proto <wan_proto>
include /etc/aredn_include/swconfig

View File

@ -1,24 +0,0 @@
config 'system'
option 'hostname' '<NODE>'
option 'timezone' '<time_zone>'
config 'timeserver' 'ntp'
list 'server' '<ntp_server>'
option enable_server 0
option enabled 0
config button
option button 'reset'
option action 'released'
option handler '/usr/local/bin/bbhnrecoverymode'
option min '3'
option max '7'
config button
option button 'reset'
option action 'released'
option handler 'firstboot -y && reboot'
option min '12'
option max '20'
include /etc/aredn_include/system_netled

View File

@ -1,13 +0,0 @@
# Server configuration
config uhttpd main
# HTTP listen addresses, multiple allowed
list listen_http 0.0.0.0:8080
list listen_http 0.0.0.0:80
option home /www
option rfc1918_filter 1
option cgi_prefix /cgi-bin
option script_timeout 240
option network_timeout 30
option tcp_keepalive 5
# option config /etc/httpd.conf

View File

@ -1,15 +0,0 @@
config wifi-device radio0
option type mac80211
option channel <wifi_channel>
option chanbw <wifi_chanbw>
option distance <wifi_distance>
include /etc/aredn_include/radio0path
config wifi-iface
option device radio0
option network lan
option mode <wifi_mode>
option ssid "<wifi_ssid>"
option hidden <wifi_hidden>
option encryption none

View File

@ -1,17 +0,0 @@
wifi_proto = disabled
lan_proto = static
lan_ip = 172.27.3.1
lan_mask = 255.255.255.0
lan_dhcp = 1
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = dhcp
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,18 +0,0 @@
wifi_proto = disabled
lan_proto = static
lan_ip = 172.27.3.1
lan_mask = 255.255.255.0
lan_dhcp = 1
lan_dhcp_noroute = 0
dhcp_start = 5
dhcp_end = 25
dhcp_limit = 20
wan_proto = dhcp
wan_dns1 = 8.8.8.8
wan_dns2 = 8.8.4.4
time_zone = UTC
ntp_server = us.pool.ntp.org

View File

@ -1,10 +0,0 @@
config dhcp
option interface lan
option start <dhcp_start>
option limit <dhcp_limit>
option leasetime 1h
option ignore <lan_dhcp>
config dhcp
option interface wan
option ignore 1

View File

@ -1,3 +0,0 @@
config dropbear
option PasswordAuth 'on'
option Port '2222'

View File

@ -1,99 +0,0 @@
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
option network 'lan'
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name wan
option network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config zone
option name wifi
option network 'wifi'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wifi
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wifi
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config include
option path /etc/firewall.user
config rule
option src wan
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wan
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 2222
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 8080
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 80
option proto tcp
option target ACCEPT
config rule
option src wifi
option dest_port 698
option proto udp
option target ACCEPT
config rule
option src wifi
option dest_port 1978
option proto tcp
option target ACCEPT

View File

@ -1,4 +0,0 @@
# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.

View File

@ -1,28 +0,0 @@
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "<lan_intf>"
option proto <lan_proto>
option ipaddr <lan_ip>
option netmask <lan_mask>
option dns "<wan_dns1> <wan_dns2>"
option gateway <lan_gw>
#### WAN configuration
config interface wan
option ifname "<wan_intf>"
option proto <wan_proto>
option ipaddr <wan_ip>
option netmask <wan_mask>
option gateway <wan_gw>
include /etc/aredn_include/swconfig

View File

@ -1,24 +0,0 @@
config 'system'
option 'hostname' '<NODE>'
option 'timezone' '<time_zone>'
config 'timeserver' 'ntp'
list 'server' '<ntp_server>'
option enable_server 0
option enabled 0
config button
option button 'reset'
option action 'released'
option handler '/usr/local/bin/bbhnrecoverymode'
option min '3'
option max '7'
config button
option button 'reset'
option action 'released'
option handler 'firstboot -y && reboot'
option min '12'
option max '20'
include /etc/aredn_include/system_netled

View File

@ -1,13 +0,0 @@
# Server configuration
config uhttpd main
# HTTP listen addresses, multiple allowed
list listen_http 0.0.0.0:8080
list listen_http 0.0.0.0:80
option home /www
option rfc1918_filter 1
option cgi_prefix /cgi-bin
option script_timeout 240
option network_timeout 30
option tcp_keepalive 5
# option config /etc/httpd.conf

View File

@ -1,14 +0,0 @@
config wifi-device radio0
option type mac80211
option channel <wifi_channel>
option chanbw <wifi_chanbw>
option disabled 1
include /etc/aredn_include/radio0path
config wifi-iface
option device radio0
option network lan
option mode <wifi_mode>
option ssid "<wifi_ssid>"
option encryption none

View File

@ -1,9 +1,3 @@
/etc/config.ap/_setup
/etc/config.ap/_setup.dhcp
/etc/config.ap/_setup.ports
/etc/config.client/_setup
/etc/config.client/_setup.dhcp
/etc/config.client/_setup.ports
/etc/config.mesh/_setup
/etc/config.mesh/_setup.dhcp.dmz
/etc/config.mesh/_setup.dhcp.nat
@ -11,12 +5,6 @@
/etc/config.mesh/_setup.ports.nat
/etc/config.mesh/_setup.services.dmz
/etc/config.mesh/_setup.services.nat
/etc/config.mesh_ap/_setup
/etc/config.mesh_ap/_setup.dhcp
/etc/config.mesh_ap/_setup.ports
/etc/config.router/_setup
/etc/config.router/_setup.dhcp
/etc/config.router/_setup.ports
/etc/httpd.conf
/etc/local/services
/etc/local/uci/hsmmmesh

View File

@ -41,11 +41,7 @@ $phy=get_wlan2phy("${wifiif}");
@files = ( "/etc/config/",
"/etc/config.ap/",
"/etc/config.client/",
"/etc/config.mesh/",
"/etc/config.mesh_ap/",
"/etc/config.router/",
"/etc/local/",
"/etc/mesh-release",
"/tmp/etc/",