This reverts commit d5be7814b3.
Auto Distance is not ready for a release and will be
reintroduced afterwards. Added logic to reset '0' distance
to 60km so tower nodes will continue to respond after
upgrade if running the experimental auto distance
Add kernel build options to conserve RAM. Measured 520k reduction.
disable CRASHLOG interface, we can't really see it anyway
CONFIG_KERNEL_CRASHLOG=n
remove process core dump support (see above reasoning)
CONFIG_KERNEL_ELF_CORE=n
there is no "swap"
CONFIG_KERNEL_SWAP=n
remove debug symbols
CONFIG_KERNEL_KALLSYMS=n
remove debug info
CONFIG_KERNEL_DEBUG_INFO=n
more unnecessary kernel exports
CONFIG_STRIP_KERNEL_EXPORTS=y
remove libraries of unnecessary functions
CONFIG_USE_MKLIBS=y
compress /tmp
CONFIG_PROCD_ZRAM_TMPFS=y
seldom used key stroke
CONFIG_KERNEL_MAGIC_SYSRQ=n
Not used with AREDN
CONFIG_PACKAGE_MAC80211_MESH=n
Above options Ref: https://openwrt.org/docs/guide-user/additional-software/saving-space#modifying_build_configuration_variables
-------------
Additional options
CONFIG_BUSYBOX_DEFAULT_MKSWAP=n
CONFIG_BUSYBOX_CONFIG_MKSWAP=n
improved "top" command.
CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_INTERACTIVE=y
additional modules to build
CONFIG_PACKAGE_kmod-usb3=m
CONFIG_PACKAGE_block-mount=m
CONFIG_PACKAGE_kmod-usb-storage=m
CONFIG_PACKAGE_kmod-usb-storage-extras=m
CONFIG_PACKAGE_kmod-usb-storage-uas=m
Additional filesystem modules complementing USB storage
CONFIG_PACKAGE_kmod-fs-vfat=m
CONFIG_PACKAGE_kmod-fs-ntfs=m
CONFIG_PACKAGE_kmod-fs-ext4=m
CONFIG_PACKAGE_e2fsprogs=m
Reduce log usage of /tmp and RAM
I can't find my notes of course...
CONFIG_LOG_BUF_SHIFT=16
CONFIG_LOG_CPU_MAX_BUF_SHIFT=16
additional options to support performance metrics
CONFIG_BUSYBOX_CONFIG_IOSTAT=y
CONFIG_BUSYBOX_CONFIG_RENICE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PS_LONG=y
Closes#81
* Trim Packages
Kernel support for USB has been moved to modules
libpcap and tcpdump have been moved to modules
libnetsnmp and snmpd have been moved to modules
IPv6 has been removed from the kernel
IPv6 support has been removed from busybox network utils as well.
(no more funny DNS responses in nslookup!)
* Remove ping6 and traceroute6
They are no longer needed
* Changed patch name and number and updated series file