From dbb23020f5a79d5ff73409b462abd35f6eea80ed Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Mon, 25 Sep 2023 16:16:15 +0000 Subject: [PATCH] update --- .github/diy/nanopi-r4s.config | 543 ++- base-files/Makefile | 249 -- base-files/files/bin/board_detect | 14 - base-files/files/bin/config_generate | 542 --- base-files/files/bin/ipcalc.sh | 88 - base-files/files/etc/banner | 8 - base-files/files/etc/banner.failsafe | 15 - .../files/etc/board.d/99-default_network | 16 - base-files/files/etc/device_info | 4 - base-files/files/etc/diag.sh | 52 - base-files/files/etc/ethers | 6 - base-files/files/etc/fstab | 1 - base-files/files/etc/group | 11 - base-files/files/etc/hosts | 5 - base-files/files/etc/hotplug.d/net/00-sysctl | 9 - base-files/files/etc/init.d/boot | 55 - base-files/files/etc/init.d/done | 17 - base-files/files/etc/init.d/gpio_switch | 66 - base-files/files/etc/init.d/led | 145 - base-files/files/etc/init.d/sysctl | 44 - base-files/files/etc/init.d/sysfixtime | 44 - base-files/files/etc/init.d/system | 45 - base-files/files/etc/init.d/umount | 13 - base-files/files/etc/inittab | 3 - base-files/files/etc/iproute2/ematch_map | 8 - base-files/files/etc/iproute2/rt_protos | 18 - base-files/files/etc/iproute2/rt_tables | 12 - base-files/files/etc/openwrt_release | 7 - base-files/files/etc/openwrt_version | 1 - base-files/files/etc/os-release | 1 - base-files/files/etc/passwd | 5 - base-files/files/etc/preinit | 29 - base-files/files/etc/profile | 40 - base-files/files/etc/protocols | 57 - base-files/files/etc/rc.button/failsafe | 5 - base-files/files/etc/rc.button/power | 7 - base-files/files/etc/rc.button/reboot | 12 - base-files/files/etc/rc.button/reset | 31 - base-files/files/etc/rc.button/rfkill | 32 - base-files/files/etc/rc.common | 194 -- base-files/files/etc/rc.local | 4 - base-files/files/etc/services | 173 - base-files/files/etc/shadow | 5 - base-files/files/etc/shells | 1 - base-files/files/etc/shinit | 12 - base-files/files/etc/sysctl.conf | 1 - base-files/files/etc/sysctl.d/10-default.conf | 28 - base-files/files/etc/sysupgrade.conf | 5 - .../files/etc/uci-defaults/10_migrate-shadow | 10 - .../etc/uci-defaults/12_network-generate-ula | 13 - .../files/etc/uci-defaults/13_fix-group-user | 9 - base-files/files/lib/functions.sh | 436 --- base-files/files/lib/functions/caldata.sh | 184 - base-files/files/lib/functions/leds.sh | 94 - base-files/files/lib/functions/migrations.sh | 67 - base-files/files/lib/functions/network.sh | 325 -- base-files/files/lib/functions/preinit.sh | 87 - base-files/files/lib/functions/service.sh | 103 - base-files/files/lib/functions/system.sh | 302 -- .../files/lib/functions/uci-defaults.sh | 681 ---- .../files/lib/preinit/02_default_set_state | 5 - base-files/files/lib/preinit/02_sysinfo | 10 - .../files/lib/preinit/10_indicate_failsafe | 17 - .../files/lib/preinit/10_indicate_preinit | 207 -- base-files/files/lib/preinit/30_failsafe_wait | 102 - .../files/lib/preinit/40_run_failsafe_hook | 16 - .../lib/preinit/50_indicate_regular_preinit | 9 - .../files/lib/preinit/70_initramfs_test | 12 - base-files/files/lib/preinit/80_mount_root | 35 - .../files/lib/preinit/99_10_failsafe_login | 15 - base-files/files/lib/preinit/99_10_run_init | 8 - base-files/files/lib/upgrade/common.sh | 317 -- base-files/files/lib/upgrade/do_stage2 | 25 - base-files/files/lib/upgrade/emmc.sh | 67 - base-files/files/lib/upgrade/fwtool.sh | 93 - .../lib/upgrade/keep.d/base-files-essential | 11 - base-files/files/lib/upgrade/legacy-sdcard.sh | 91 - base-files/files/lib/upgrade/nand.sh | 482 --- base-files/files/lib/upgrade/stage2 | 175 - base-files/files/rom/note | 3 - base-files/files/sbin/firstboot | 3 - base-files/files/sbin/hotplug-call | 18 - base-files/files/sbin/led.sh | 25 - base-files/files/sbin/pkg_check | 130 - base-files/files/sbin/sysupgrade | 384 --- base-files/files/sbin/wifi | 271 -- base-files/files/usr/lib/os-release | 18 - base-files/files/usr/libexec/login.sh | 5 - .../files/usr/libexec/validate_firmware_image | 66 - base-files/image-config.in | 284 -- dnsmasq/Makefile | 204 -- dnsmasq/files/50-dnsmasq-migrate-ipset.sh | 32 - .../50-dnsmasq-migrate-resolv-conf-auto.sh | 8 - dnsmasq/files/dhcp-script.sh | 53 - dnsmasq/files/dhcp.conf | 37 - dnsmasq/files/dhcpbogushostname.conf | 8 - dnsmasq/files/dnsmasq.conf | 37 - dnsmasq/files/dnsmasq.init | 1333 ------- dnsmasq/files/dnsmasq_acl.json | 15 - dnsmasq/files/dnsmasqsec.hotplug | 12 - dnsmasq/files/rfc6761.conf | 11 - ...00-remove-old-runtime-kernel-support.patch | 165 - dnsmasq/patches/200-ubus_dns.patch | 282 -- firewall/Makefile | 64 - firewall/files/firewall.config | 206 -- firewall/files/firewall.hotplug | 11 - firewall/files/firewall.init | 61 - firewall/files/firewall.user | 7 - firewall4/Makefile | 50 - fullconenat/Makefile | 71 - fullconenat/patches/000-printk.patch | 16 - fullconenat/src/Makefile | 12 - libnftnl/Makefile | 76 - ...ftnl-add-fullcone-expression-support.patch | 253 -- miniupnpd-iptables/Makefile | 80 - miniupnpd-iptables/files/firewall.include | 57 - miniupnpd-iptables/files/miniupnpd.defaults | 13 - miniupnpd-iptables/files/miniupnpd.hotplug | 39 - miniupnpd-iptables/files/miniupnpd.init | 219 -- miniupnpd-iptables/files/upnpd.config | 27 - .../patches/100-no-daemon.patch | 25 - .../patches/101-no-ssl-uuid.patch | 23 - .../patches/102-ipv6-ext-port.patch | 10 - .../patches/103-no-ipv6-autodetection.patch | 27 - .../patches/104-always-libuuid.patch | 20 - .../patches/105-build-with-kernel-5.4.patch | 90 - .../patches/106-spam-syslog-ignoring.patch | 13 - nftables/Makefile | 85 - ...bles-add-fullcone-expression-support.patch | 209 -- opkg/Makefile | 98 - opkg/files/20_migrate-feeds | 9 - opkg/files/customfeeds.conf | 3 - opkg/files/opkg-key | 58 - opkg/files/opkg-smime.conf | 6 - opkg/files/opkg.conf | 4 - ppp/Makefile | 311 -- ppp/files/etc/ppp/chap-secrets | 1 - ppp/files/etc/ppp/filter | 23 - ppp/files/etc/ppp/options | 8 - ppp/files/etc/ppp/options.pptp | 7 - ppp/files/etc/ppp/radius.conf | 8 - ppp/files/etc/ppp/radius/dictionary | 253 -- ppp/files/etc/ppp/radius/dictionary.asnet | 3 - ppp/files/etc/ppp/radius/dictionary.microsoft | 80 - ppp/files/etc/ppp/radius/servers | 2 - ppp/files/lib/netifd/ppp-down | 13 - ppp/files/lib/netifd/ppp-up | 20 - ppp/files/lib/netifd/ppp6-up | 32 - ppp/files/ppp.sh | 328 -- .../010-use_target_for_configure.patch | 24 - ppp/patches/105-debian_demand.patch | 170 - .../120-debian_ipv6_updown_option.patch | 95 - ppp/patches/133-fix_sha1_include.patch | 11 - ppp/patches/200-makefile.patch | 56 - ppp/patches/201-mppe_mppc_1.1.patch | 1518 -------- ppp/patches/203-opt_flags.patch | 38 - ppp/patches/204-radius_config.patch | 72 - ppp/patches/205-no_exponential_timeout.patch | 29 - ppp/patches/207-lcp_mtu_max.patch | 25 - ppp/patches/208-fix_status_code.patch | 24 - .../300-filter-pcap-includes-lib.patch | 20 - ppp/patches/310-precompile_filter.patch | 194 -- ...multilink_support_custom_iface_names.patch | 147 - .../330-retain_foreign_default_routes.patch | 22 - .../340-populate_default_gateway.patch | 34 - ppp/patches/400-simplify_kernel_checks.patch | 154 - ppp/patches/401-no_record_file.patch | 39 - ppp/patches/403-no_wtmp.patch | 25 - .../404-remove_obsolete_protocol_names.patch | 151 - ppp/patches/405-no_multilink_option.patch | 28 - ppp/patches/500-add-pptp-plugin.patch | 3066 ----------------- ppp/patches/510-pptp_compile_fix.patch | 11 - ppp/patches/511-pptp_cflags.patch | 11 - ...openssl-for-the-DES-instead-of-the-l.patch | 89 - ppp/patches/610-pppd_compile_fix.patch | 12 - ppp/utils/pfc.c | 51 - ucl/Makefile | 69 - ucl/patches/001-autoconf-compat.patch | 11 - upx/Makefile | 61 - vsftpd-alt/Makefile | 98 - vsftpd-alt/files/vsftpd-uci.init | 14 - vsftpd-alt/files/vsftpd.conf | 30 - vsftpd-alt/files/vsftpd.init | 13 - vsftpd-alt/files/vsftpd.uci | 50 - vsftpd-alt/files/vsftpd_prepare | 258 -- vsftpd-alt/files/vsftpd_wrapper | 49 - vsftpd-alt/patches/001-destdir.patch | 47 - vsftpd-alt/patches/002-find_libs.patch | 13 - vsftpd-alt/patches/003-chroot.patch | 11 - .../patches/004-disable-capabilities.patch | 12 - vsftpd-alt/patches/005-disable-pam.patch | 11 - .../patches/006-musl-compatibility.patch | 13 - vsftpd-alt/patches/007-CVE-2015-1419.patch | 91 - .../patches/010-openssl-deprecated.patch | 51 - .../patches/100-add-uci-auth-support.patch | 127 - .../101-enable-chroot-on-writable-dir.patch | 19 - .../patches/102-keep-local-user-rights.patch | 11 - wireless-regdb/Makefile | 32 - .../patches/500-world-regd-5GHz.patch | 16 - .../600-custom-change-txpower-and-dfs.patch | 30 - 200 files changed, 449 insertions(+), 19930 deletions(-) delete mode 100644 base-files/Makefile delete mode 100755 base-files/files/bin/board_detect delete mode 100755 base-files/files/bin/config_generate delete mode 100755 base-files/files/bin/ipcalc.sh delete mode 100644 base-files/files/etc/banner delete mode 100644 base-files/files/etc/banner.failsafe delete mode 100644 base-files/files/etc/board.d/99-default_network delete mode 100644 base-files/files/etc/device_info delete mode 100644 base-files/files/etc/diag.sh delete mode 100644 base-files/files/etc/ethers delete mode 100644 base-files/files/etc/fstab delete mode 100644 base-files/files/etc/group delete mode 100644 base-files/files/etc/hosts delete mode 100644 base-files/files/etc/hotplug.d/net/00-sysctl delete mode 100755 base-files/files/etc/init.d/boot delete mode 100755 base-files/files/etc/init.d/done delete mode 100755 base-files/files/etc/init.d/gpio_switch delete mode 100755 base-files/files/etc/init.d/led delete mode 100755 base-files/files/etc/init.d/sysctl delete mode 100755 base-files/files/etc/init.d/sysfixtime delete mode 100755 base-files/files/etc/init.d/system delete mode 100755 base-files/files/etc/init.d/umount delete mode 100644 base-files/files/etc/inittab delete mode 100644 base-files/files/etc/iproute2/ematch_map delete mode 100644 base-files/files/etc/iproute2/rt_protos delete mode 100644 base-files/files/etc/iproute2/rt_tables delete mode 100644 base-files/files/etc/openwrt_release delete mode 100644 base-files/files/etc/openwrt_version delete mode 120000 base-files/files/etc/os-release delete mode 100644 base-files/files/etc/passwd delete mode 100755 base-files/files/etc/preinit delete mode 100644 base-files/files/etc/profile delete mode 100644 base-files/files/etc/protocols delete mode 100755 base-files/files/etc/rc.button/failsafe delete mode 100755 base-files/files/etc/rc.button/power delete mode 100755 base-files/files/etc/rc.button/reboot delete mode 100755 base-files/files/etc/rc.button/reset delete mode 100755 base-files/files/etc/rc.button/rfkill delete mode 100755 base-files/files/etc/rc.common delete mode 100644 base-files/files/etc/rc.local delete mode 100644 base-files/files/etc/services delete mode 100644 base-files/files/etc/shadow delete mode 100644 base-files/files/etc/shells delete mode 100644 base-files/files/etc/shinit delete mode 100644 base-files/files/etc/sysctl.conf delete mode 100644 base-files/files/etc/sysctl.d/10-default.conf delete mode 100644 base-files/files/etc/sysupgrade.conf delete mode 100644 base-files/files/etc/uci-defaults/10_migrate-shadow delete mode 100644 base-files/files/etc/uci-defaults/12_network-generate-ula delete mode 100644 base-files/files/etc/uci-defaults/13_fix-group-user delete mode 100644 base-files/files/lib/functions.sh delete mode 100644 base-files/files/lib/functions/caldata.sh delete mode 100644 base-files/files/lib/functions/leds.sh delete mode 100644 base-files/files/lib/functions/migrations.sh delete mode 100644 base-files/files/lib/functions/network.sh delete mode 100644 base-files/files/lib/functions/preinit.sh delete mode 100644 base-files/files/lib/functions/service.sh delete mode 100644 base-files/files/lib/functions/system.sh delete mode 100644 base-files/files/lib/functions/uci-defaults.sh delete mode 100644 base-files/files/lib/preinit/02_default_set_state delete mode 100644 base-files/files/lib/preinit/02_sysinfo delete mode 100644 base-files/files/lib/preinit/10_indicate_failsafe delete mode 100644 base-files/files/lib/preinit/10_indicate_preinit delete mode 100644 base-files/files/lib/preinit/30_failsafe_wait delete mode 100644 base-files/files/lib/preinit/40_run_failsafe_hook delete mode 100644 base-files/files/lib/preinit/50_indicate_regular_preinit delete mode 100644 base-files/files/lib/preinit/70_initramfs_test delete mode 100644 base-files/files/lib/preinit/80_mount_root delete mode 100644 base-files/files/lib/preinit/99_10_failsafe_login delete mode 100644 base-files/files/lib/preinit/99_10_run_init delete mode 100644 base-files/files/lib/upgrade/common.sh delete mode 100755 base-files/files/lib/upgrade/do_stage2 delete mode 100644 base-files/files/lib/upgrade/emmc.sh delete mode 100644 base-files/files/lib/upgrade/fwtool.sh delete mode 100644 base-files/files/lib/upgrade/keep.d/base-files-essential delete mode 100644 base-files/files/lib/upgrade/legacy-sdcard.sh delete mode 100644 base-files/files/lib/upgrade/nand.sh delete mode 100755 base-files/files/lib/upgrade/stage2 delete mode 100644 base-files/files/rom/note delete mode 100755 base-files/files/sbin/firstboot delete mode 100755 base-files/files/sbin/hotplug-call delete mode 100755 base-files/files/sbin/led.sh delete mode 100755 base-files/files/sbin/pkg_check delete mode 100755 base-files/files/sbin/sysupgrade delete mode 100755 base-files/files/sbin/wifi delete mode 100644 base-files/files/usr/lib/os-release delete mode 100755 base-files/files/usr/libexec/login.sh delete mode 100755 base-files/files/usr/libexec/validate_firmware_image delete mode 100644 base-files/image-config.in delete mode 100644 dnsmasq/Makefile delete mode 100755 dnsmasq/files/50-dnsmasq-migrate-ipset.sh delete mode 100755 dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh delete mode 100755 dnsmasq/files/dhcp-script.sh delete mode 100644 dnsmasq/files/dhcp.conf delete mode 100644 dnsmasq/files/dhcpbogushostname.conf delete mode 100644 dnsmasq/files/dnsmasq.conf delete mode 100755 dnsmasq/files/dnsmasq.init delete mode 100644 dnsmasq/files/dnsmasq_acl.json delete mode 100644 dnsmasq/files/dnsmasqsec.hotplug delete mode 100644 dnsmasq/files/rfc6761.conf delete mode 100644 dnsmasq/patches/100-remove-old-runtime-kernel-support.patch delete mode 100644 dnsmasq/patches/200-ubus_dns.patch delete mode 100644 firewall/Makefile delete mode 100644 firewall/files/firewall.config delete mode 100644 firewall/files/firewall.hotplug delete mode 100755 firewall/files/firewall.init delete mode 100644 firewall/files/firewall.user delete mode 100644 firewall4/Makefile delete mode 100644 fullconenat/Makefile delete mode 100644 fullconenat/patches/000-printk.patch delete mode 100644 fullconenat/src/Makefile delete mode 100644 libnftnl/Makefile delete mode 100644 libnftnl/patches/001-libnftnl-add-fullcone-expression-support.patch delete mode 100644 miniupnpd-iptables/Makefile delete mode 100644 miniupnpd-iptables/files/firewall.include delete mode 100644 miniupnpd-iptables/files/miniupnpd.defaults delete mode 100644 miniupnpd-iptables/files/miniupnpd.hotplug delete mode 100644 miniupnpd-iptables/files/miniupnpd.init delete mode 100644 miniupnpd-iptables/files/upnpd.config delete mode 100644 miniupnpd-iptables/patches/100-no-daemon.patch delete mode 100644 miniupnpd-iptables/patches/101-no-ssl-uuid.patch delete mode 100644 miniupnpd-iptables/patches/102-ipv6-ext-port.patch delete mode 100644 miniupnpd-iptables/patches/103-no-ipv6-autodetection.patch delete mode 100644 miniupnpd-iptables/patches/104-always-libuuid.patch delete mode 100644 miniupnpd-iptables/patches/105-build-with-kernel-5.4.patch delete mode 100644 miniupnpd-iptables/patches/106-spam-syslog-ignoring.patch delete mode 100644 nftables/Makefile delete mode 100644 nftables/patches/002-nftables-add-fullcone-expression-support.patch delete mode 100644 opkg/Makefile delete mode 100644 opkg/files/20_migrate-feeds delete mode 100644 opkg/files/customfeeds.conf delete mode 100755 opkg/files/opkg-key delete mode 100644 opkg/files/opkg-smime.conf delete mode 100644 opkg/files/opkg.conf delete mode 100644 ppp/Makefile delete mode 100644 ppp/files/etc/ppp/chap-secrets delete mode 100644 ppp/files/etc/ppp/filter delete mode 100644 ppp/files/etc/ppp/options delete mode 100644 ppp/files/etc/ppp/options.pptp delete mode 100644 ppp/files/etc/ppp/radius.conf delete mode 100644 ppp/files/etc/ppp/radius/dictionary delete mode 100644 ppp/files/etc/ppp/radius/dictionary.asnet delete mode 100644 ppp/files/etc/ppp/radius/dictionary.microsoft delete mode 100644 ppp/files/etc/ppp/radius/servers delete mode 100755 ppp/files/lib/netifd/ppp-down delete mode 100755 ppp/files/lib/netifd/ppp-up delete mode 100755 ppp/files/lib/netifd/ppp6-up delete mode 100755 ppp/files/ppp.sh delete mode 100644 ppp/patches/010-use_target_for_configure.patch delete mode 100644 ppp/patches/105-debian_demand.patch delete mode 100644 ppp/patches/120-debian_ipv6_updown_option.patch delete mode 100644 ppp/patches/133-fix_sha1_include.patch delete mode 100644 ppp/patches/200-makefile.patch delete mode 100644 ppp/patches/201-mppe_mppc_1.1.patch delete mode 100644 ppp/patches/203-opt_flags.patch delete mode 100644 ppp/patches/204-radius_config.patch delete mode 100644 ppp/patches/205-no_exponential_timeout.patch delete mode 100644 ppp/patches/207-lcp_mtu_max.patch delete mode 100644 ppp/patches/208-fix_status_code.patch delete mode 100644 ppp/patches/300-filter-pcap-includes-lib.patch delete mode 100644 ppp/patches/310-precompile_filter.patch delete mode 100644 ppp/patches/321-multilink_support_custom_iface_names.patch delete mode 100644 ppp/patches/330-retain_foreign_default_routes.patch delete mode 100644 ppp/patches/340-populate_default_gateway.patch delete mode 100644 ppp/patches/400-simplify_kernel_checks.patch delete mode 100644 ppp/patches/401-no_record_file.patch delete mode 100644 ppp/patches/403-no_wtmp.patch delete mode 100644 ppp/patches/404-remove_obsolete_protocol_names.patch delete mode 100644 ppp/patches/405-no_multilink_option.patch delete mode 100644 ppp/patches/500-add-pptp-plugin.patch delete mode 100644 ppp/patches/510-pptp_compile_fix.patch delete mode 100644 ppp/patches/511-pptp_cflags.patch delete mode 100644 ppp/patches/600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch delete mode 100644 ppp/patches/610-pppd_compile_fix.patch delete mode 100644 ppp/utils/pfc.c delete mode 100644 ucl/Makefile delete mode 100644 ucl/patches/001-autoconf-compat.patch delete mode 100644 upx/Makefile delete mode 100644 vsftpd-alt/Makefile delete mode 100755 vsftpd-alt/files/vsftpd-uci.init delete mode 100644 vsftpd-alt/files/vsftpd.conf delete mode 100755 vsftpd-alt/files/vsftpd.init delete mode 100644 vsftpd-alt/files/vsftpd.uci delete mode 100755 vsftpd-alt/files/vsftpd_prepare delete mode 100755 vsftpd-alt/files/vsftpd_wrapper delete mode 100644 vsftpd-alt/patches/001-destdir.patch delete mode 100644 vsftpd-alt/patches/002-find_libs.patch delete mode 100644 vsftpd-alt/patches/003-chroot.patch delete mode 100644 vsftpd-alt/patches/004-disable-capabilities.patch delete mode 100644 vsftpd-alt/patches/005-disable-pam.patch delete mode 100644 vsftpd-alt/patches/006-musl-compatibility.patch delete mode 100644 vsftpd-alt/patches/007-CVE-2015-1419.patch delete mode 100644 vsftpd-alt/patches/010-openssl-deprecated.patch delete mode 100644 vsftpd-alt/patches/100-add-uci-auth-support.patch delete mode 100644 vsftpd-alt/patches/101-enable-chroot-on-writable-dir.patch delete mode 100644 vsftpd-alt/patches/102-keep-local-user-rights.patch delete mode 100644 wireless-regdb/Makefile delete mode 100644 wireless-regdb/patches/500-world-regd-5GHz.patch delete mode 100644 wireless-regdb/patches/600-custom-change-txpower-and-dfs.patch diff --git a/.github/diy/nanopi-r4s.config b/.github/diy/nanopi-r4s.config index 003cad364..f720129ee 100644 --- a/.github/diy/nanopi-r4s.config +++ b/.github/diy/nanopi-r4s.config @@ -130,29 +130,22 @@ CONFIG_EXTERNAL_CPIO="" # Root filesystem archives # # CONFIG_TARGET_ROOTFS_CPIOGZ is not set -# CONFIG_TARGET_ROOTFS_TARGZ is not set +CONFIG_TARGET_ROOTFS_TARGZ=y # # Root filesystem images # -CONFIG_TARGET_ROOTFS_EXT4FS=y -CONFIG_TARGET_EXT4_RESERVED_PCT=0 -CONFIG_TARGET_EXT4_BLOCKSIZE_4K=y -# CONFIG_TARGET_EXT4_BLOCKSIZE_2K is not set -# CONFIG_TARGET_EXT4_BLOCKSIZE_1K is not set -CONFIG_TARGET_EXT4_BLOCKSIZE=4096 -# CONFIG_TARGET_EXT4_JOURNAL is not set +# CONFIG_TARGET_ROOTFS_EXT4FS is not set CONFIG_TARGET_ROOTFS_SQUASHFS=y CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256 CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y CONFIG_TARGET_UBIFS_JOURNAL_SIZE="" -CONFIG_TARGET_IMAGES_GZIP=y # # Image Options # -CONFIG_TARGET_KERNEL_PARTSIZE=16 -CONFIG_TARGET_ROOTFS_PARTSIZE=160 +CONFIG_TARGET_KERNEL_PARTSIZE=32 +CONFIG_TARGET_ROOTFS_PARTSIZE=400 # CONFIG_TARGET_ROOTFS_PERSIST_VAR is not set # end of Target Images @@ -1493,7 +1486,7 @@ CONFIG_BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 # CONFIG_BUSYBOX_DEFAULT_FEATURE_KMSG_SYSLOG is not set # CONFIG_PACKAGE_busybox-selinux is not set CONFIG_PACKAGE_ca-bundle=y -# CONFIG_PACKAGE_ca-certificates is not set +CONFIG_PACKAGE_ca-certificates=y # CONFIG_PACKAGE_dnsmasq is not set # CONFIG_PACKAGE_dnsmasq-dhcpv6 is not set CONFIG_PACKAGE_dnsmasq-full=y @@ -1559,7 +1552,7 @@ CONFIG_PACKAGE_procd=y # CONFIG_PACKAGE_procd-ujail-console is not set # CONFIG_PACKAGE_qos-scripts is not set # CONFIG_PACKAGE_refpolicy is not set -# CONFIG_PACKAGE_resolveip is not set +CONFIG_PACKAGE_resolveip=y CONFIG_PACKAGE_rpcd=y # CONFIG_PACKAGE_rpcd-mod-file is not set # CONFIG_PACKAGE_rpcd-mod-iwinfo is not set @@ -1624,6 +1617,7 @@ CONFIG_ZABBIX_POSTGRESQL=y # CONFIG_PACKAGE_atop is not set # CONFIG_PACKAGE_backuppc is not set # CONFIG_PACKAGE_bpytop is not set +# CONFIG_PACKAGE_btop is not set # CONFIG_PACKAGE_debian-archive-keyring is not set # CONFIG_PACKAGE_debootstrap is not set # CONFIG_PACKAGE_gkrellmd is not set @@ -1675,7 +1669,9 @@ CONFIG_PACKAGE_u-boot-nanopi-r4s-rk3399=y # # Libraries # +# CONFIG_PACKAGE_libncurses-dev is not set # CONFIG_PACKAGE_libxml2-dev is not set +# CONFIG_PACKAGE_zlib-dev is not set # end of Libraries # CONFIG_PACKAGE_ar is not set @@ -1724,7 +1720,7 @@ CONFIG_PACKAGE_automount=y # CONFIG_PACKAGE_autosamba is not set # CONFIG_PACKAGE_autoshare-ksmbd is not set # CONFIG_PACKAGE_autoshare-samba is not set -# CONFIG_PACKAGE_ipv6helper is not set +CONFIG_PACKAGE_ipv6helper=y # CONFIG_PACKAGE_jose is not set CONFIG_PACKAGE_libiwinfo-data=y # CONFIG_PACKAGE_luci-app-xray-fw3 is not set @@ -2269,11 +2265,11 @@ CONFIG_PACKAGE_kmod-ipt-ipset=y # CONFIG_PACKAGE_kmod-ipt-lua is not set CONFIG_PACKAGE_kmod-ipt-nat=y # CONFIG_PACKAGE_kmod-ipt-nat-extra is not set -# CONFIG_PACKAGE_kmod-ipt-nat6 is not set +CONFIG_PACKAGE_kmod-ipt-nat6=y # CONFIG_PACKAGE_kmod-ipt-nathelper-rtsp is not set # CONFIG_PACKAGE_kmod-ipt-nflog is not set # CONFIG_PACKAGE_kmod-ipt-nfqueue is not set -CONFIG_PACKAGE_kmod-ipt-offload=y +# CONFIG_PACKAGE_kmod-ipt-offload is not set # CONFIG_PACKAGE_kmod-ipt-physdev is not set # CONFIG_PACKAGE_kmod-ipt-proto is not set # CONFIG_PACKAGE_kmod-ipt-psd is not set @@ -2292,12 +2288,12 @@ CONFIG_PACKAGE_kmod-ipt-tproxy=y CONFIG_PACKAGE_kmod-nf-conntrack=y # CONFIG_PACKAGE_kmod-nf-conntrack-netlink is not set CONFIG_PACKAGE_kmod-nf-conntrack6=y -CONFIG_PACKAGE_kmod-nf-flow=y +# CONFIG_PACKAGE_kmod-nf-flow is not set CONFIG_PACKAGE_kmod-nf-ipt=y CONFIG_PACKAGE_kmod-nf-ipt6=y # CONFIG_PACKAGE_kmod-nf-ipvs is not set CONFIG_PACKAGE_kmod-nf-nat=y -# CONFIG_PACKAGE_kmod-nf-nat6 is not set +CONFIG_PACKAGE_kmod-nf-nat6=y CONFIG_PACKAGE_kmod-nf-nathelper=y CONFIG_PACKAGE_kmod-nf-nathelper-extra=y CONFIG_PACKAGE_kmod-nf-reject=y @@ -2309,6 +2305,7 @@ CONFIG_PACKAGE_kmod-nfnetlink=y # CONFIG_PACKAGE_kmod-nft-bridge is not set # CONFIG_PACKAGE_kmod-nft-core is not set # CONFIG_PACKAGE_kmod-nft-fib is not set +# CONFIG_PACKAGE_kmod-nft-fullcone is not set # CONFIG_PACKAGE_kmod-nft-nat is not set # CONFIG_PACKAGE_kmod-nft-nat6 is not set # CONFIG_PACKAGE_kmod-nft-netdev is not set @@ -2413,10 +2410,12 @@ CONFIG_PACKAGE_kmod-r8168=y # CONFIG_PACKAGE_kmod-geneve is not set # CONFIG_PACKAGE_kmod-gre is not set # CONFIG_PACKAGE_kmod-gre6 is not set -# CONFIG_PACKAGE_kmod-inet-diag is not set +CONFIG_PACKAGE_kmod-inet-diag=y # CONFIG_PACKAGE_kmod-ip6-tunnel is not set # CONFIG_PACKAGE_kmod-ipip is not set # CONFIG_PACKAGE_kmod-ipsec is not set +CONFIG_PACKAGE_kmod-iptunnel=y +CONFIG_PACKAGE_kmod-iptunnel4=y # CONFIG_PACKAGE_kmod-iptunnel6 is not set # CONFIG_PACKAGE_kmod-isdn4linux is not set # CONFIG_PACKAGE_kmod-jool-netfilter is not set @@ -2461,13 +2460,13 @@ CONFIG_PACKAGE_kmod-pppox=y # CONFIG_PACKAGE_kmod-sctp is not set # CONFIG_PACKAGE_kmod-shortcut-fe is not set # CONFIG_PACKAGE_kmod-shortcut-fe-cm is not set -# CONFIG_PACKAGE_kmod-sit is not set +CONFIG_PACKAGE_kmod-sit=y CONFIG_PACKAGE_kmod-slhc=y # CONFIG_PACKAGE_kmod-slip is not set -CONFIG_PACKAGE_kmod-tcp-bbr=y +# CONFIG_PACKAGE_kmod-tcp-bbr is not set # CONFIG_PACKAGE_kmod-tcp-hybla is not set # CONFIG_PACKAGE_kmod-trelay is not set -# CONFIG_PACKAGE_kmod-tun is not set +CONFIG_PACKAGE_kmod-tun=y # CONFIG_PACKAGE_kmod-veth is not set # CONFIG_PACKAGE_kmod-vxlan is not set # CONFIG_PACKAGE_kmod-wireguard is not set @@ -2871,7 +2870,7 @@ CONFIG_PACKAGE_lua=y # CONFIG_PACKAGE_lua-md5 is not set # CONFIG_PACKAGE_lua-mobdebug is not set # CONFIG_PACKAGE_lua-mosquitto is not set -# CONFIG_PACKAGE_lua-neturl is not set +CONFIG_PACKAGE_lua-neturl=y # CONFIG_PACKAGE_lua-openssl is not set # CONFIG_PACKAGE_lua-penlight is not set # CONFIG_PACKAGE_lua-rings is not set @@ -3288,7 +3287,114 @@ CONFIG_NODEJS_16=y # # Ruby # -# CONFIG_PACKAGE_ruby is not set +CONFIG_PACKAGE_ruby=y + +# +# Standard Library +# +# CONFIG_PACKAGE_ruby-stdlib is not set +# CONFIG_PACKAGE_ruby-abbrev is not set +# CONFIG_PACKAGE_ruby-base64 is not set +# CONFIG_PACKAGE_ruby-benchmark is not set +CONFIG_PACKAGE_ruby-bigdecimal=y +# CONFIG_PACKAGE_ruby-bundler is not set +# CONFIG_PACKAGE_ruby-cgi is not set +# CONFIG_PACKAGE_ruby-continuation is not set +# CONFIG_PACKAGE_ruby-coverage is not set +# CONFIG_PACKAGE_ruby-csv is not set +CONFIG_PACKAGE_ruby-date=y +# CONFIG_PACKAGE_ruby-debug is not set +# CONFIG_PACKAGE_ruby-delegate is not set +# CONFIG_PACKAGE_ruby-dev is not set +# CONFIG_PACKAGE_ruby-did-you-mean is not set +CONFIG_PACKAGE_ruby-digest=y +# CONFIG_RUBY_DIGEST_USE_OPENSSL is not set +# CONFIG_PACKAGE_ruby-drb is not set +CONFIG_PACKAGE_ruby-enc=y +# CONFIG_PACKAGE_ruby-enc-extra is not set +# CONFIG_PACKAGE_ruby-english is not set +# CONFIG_PACKAGE_ruby-erb is not set +# CONFIG_PACKAGE_ruby-error_highlight is not set +# CONFIG_PACKAGE_ruby-etc is not set +# CONFIG_PACKAGE_ruby-expect is not set +# CONFIG_PACKAGE_ruby-fcntl is not set +# CONFIG_PACKAGE_ruby-fiddle is not set +# CONFIG_PACKAGE_ruby-fileutils is not set +# CONFIG_PACKAGE_ruby-find is not set +CONFIG_PACKAGE_ruby-forwardable=y +# CONFIG_PACKAGE_ruby-gems is not set +# CONFIG_PACKAGE_ruby-getoptlong is not set +# CONFIG_PACKAGE_ruby-io-console is not set +# CONFIG_PACKAGE_ruby-io-nonblock is not set +# CONFIG_PACKAGE_ruby-io-wait is not set +# CONFIG_PACKAGE_ruby-ipaddr is not set +# CONFIG_PACKAGE_ruby-irb is not set +# CONFIG_PACKAGE_ruby-json is not set +# CONFIG_PACKAGE_ruby-logger is not set +# CONFIG_PACKAGE_ruby-matrix is not set +# CONFIG_PACKAGE_ruby-minitest is not set +# CONFIG_PACKAGE_ruby-mkmf is not set +# CONFIG_PACKAGE_ruby-monitor is not set +# CONFIG_PACKAGE_ruby-mutex_m is not set +# CONFIG_PACKAGE_ruby-net-ftp is not set +# CONFIG_PACKAGE_ruby-net-http is not set +# CONFIG_PACKAGE_ruby-net-imap is not set +# CONFIG_PACKAGE_ruby-net-pop is not set +# CONFIG_PACKAGE_ruby-net-protocol is not set +# CONFIG_PACKAGE_ruby-net-smtp is not set +# CONFIG_PACKAGE_ruby-nkf is not set +# CONFIG_PACKAGE_ruby-objspace is not set +# CONFIG_PACKAGE_ruby-observer is not set +# CONFIG_PACKAGE_ruby-open-uri is not set +# CONFIG_PACKAGE_ruby-open3 is not set +# CONFIG_PACKAGE_ruby-openssl is not set +# CONFIG_PACKAGE_ruby-optparse is not set +# CONFIG_PACKAGE_ruby-ostruct is not set +# CONFIG_PACKAGE_ruby-pathname is not set +# CONFIG_PACKAGE_ruby-powerassert is not set +# CONFIG_PACKAGE_ruby-pp is not set +# CONFIG_PACKAGE_ruby-prettyprint is not set +# CONFIG_PACKAGE_ruby-prime is not set +CONFIG_PACKAGE_ruby-pstore=y +CONFIG_PACKAGE_ruby-psych=y +# CONFIG_PACKAGE_ruby-pty is not set +# CONFIG_PACKAGE_ruby-racc is not set +# CONFIG_PACKAGE_ruby-rake is not set +# CONFIG_PACKAGE_ruby-random_formatter is not set +# CONFIG_PACKAGE_ruby-rbconfig is not set +# CONFIG_PACKAGE_ruby-rbs is not set +# CONFIG_PACKAGE_ruby-rdoc is not set +# CONFIG_PACKAGE_ruby-readline is not set +# CONFIG_PACKAGE_ruby-readline-ext is not set +# CONFIG_PACKAGE_ruby-reline is not set +# CONFIG_PACKAGE_ruby-resolv is not set +# CONFIG_PACKAGE_ruby-resolv-replace is not set +# CONFIG_PACKAGE_ruby-rexml is not set +# CONFIG_PACKAGE_ruby-rinda is not set +# CONFIG_PACKAGE_ruby-ripper is not set +# CONFIG_PACKAGE_ruby-rss is not set +# CONFIG_PACKAGE_ruby-ruby2_keywords is not set +# CONFIG_PACKAGE_ruby-securerandom is not set +# CONFIG_PACKAGE_ruby-set is not set +# CONFIG_PACKAGE_ruby-shellwords is not set +# CONFIG_PACKAGE_ruby-singleton is not set +# CONFIG_PACKAGE_ruby-socket is not set +CONFIG_PACKAGE_ruby-stringio=y +CONFIG_PACKAGE_ruby-strscan=y +# CONFIG_PACKAGE_ruby-syslog is not set +# CONFIG_PACKAGE_ruby-tempfile is not set +# CONFIG_PACKAGE_ruby-testunit is not set +# CONFIG_PACKAGE_ruby-time is not set +# CONFIG_PACKAGE_ruby-timeout is not set +# CONFIG_PACKAGE_ruby-tmpdir is not set +# CONFIG_PACKAGE_ruby-tsort is not set +# CONFIG_PACKAGE_ruby-typeprof is not set +# CONFIG_PACKAGE_ruby-un is not set +# CONFIG_PACKAGE_ruby-unicodenormalize is not set +# CONFIG_PACKAGE_ruby-uri is not set +# CONFIG_PACKAGE_ruby-weakref is not set +CONFIG_PACKAGE_ruby-yaml=y +# CONFIG_PACKAGE_ruby-zlib is not set # end of Ruby # @@ -3312,7 +3418,7 @@ CONFIG_NODEJS_16=y # # CONFIG_PACKAGE_libbz2 is not set # CONFIG_PACKAGE_liblz4 is not set -# CONFIG_PACKAGE_liblzma is not set +CONFIG_PACKAGE_liblzma=y # CONFIG_PACKAGE_libunrar is not set # CONFIG_PACKAGE_libzip-gnutls is not set # CONFIG_PACKAGE_libzip-mbedtls is not set @@ -3786,7 +3892,7 @@ CONFIG_PACKAGE_libxtables=y # # Languages # -# CONFIG_PACKAGE_libyaml is not set +CONFIG_PACKAGE_libyaml=y # end of Languages # @@ -4045,10 +4151,12 @@ CONFIG_PACKAGE_libopenssl-conf=y # CONFIG_PACKAGE_libbfd is not set CONFIG_PACKAGE_libblkid=y CONFIG_PACKAGE_libblobmsg-json=y -# CONFIG_PACKAGE_libbpf is not set +CONFIG_PACKAGE_libbpf=y # CONFIG_PACKAGE_libbsd is not set # CONFIG_PACKAGE_libcanfestival is not set -# CONFIG_PACKAGE_libcap is not set +CONFIG_PACKAGE_libcap=y +CONFIG_PACKAGE_libcap-bin=y +CONFIG_PACKAGE_libcap-bin-capsh-shell="/bin/sh" # CONFIG_PACKAGE_libcap-ng is not set # CONFIG_PACKAGE_libcares is not set # CONFIG_PACKAGE_libcbor is not set @@ -4122,10 +4230,10 @@ CONFIG_LIBCURL_UNIX_SOCKETS=y # CONFIG_PACKAGE_libdw is not set # CONFIG_PACKAGE_libecdsautil is not set # CONFIG_PACKAGE_libedit is not set -# CONFIG_PACKAGE_libelf is not set +CONFIG_PACKAGE_libelf=y # CONFIG_PACKAGE_libesmtp is not set # CONFIG_PACKAGE_libestr is not set -# CONFIG_PACKAGE_libev is not set +CONFIG_PACKAGE_libev=y # CONFIG_PACKAGE_libevdev is not set # CONFIG_PACKAGE_libevent2 is not set # CONFIG_PACKAGE_libevent2-core is not set @@ -4214,7 +4322,7 @@ CONFIG_PACKAGE_liblua=y # CONFIG_PACKAGE_libmilter-sendmail is not set # CONFIG_PACKAGE_libminiupnpc is not set # CONFIG_PACKAGE_libmms is not set -# CONFIG_PACKAGE_libmnl is not set +CONFIG_PACKAGE_libmnl=y # CONFIG_PACKAGE_libmodbus is not set # CONFIG_PACKAGE_libmosquitto-nossl is not set # CONFIG_PACKAGE_libmosquitto-ssl is not set @@ -4234,7 +4342,7 @@ CONFIG_PACKAGE_libncurses=y # CONFIG_PACKAGE_libnetfilter-cttimeout is not set # CONFIG_PACKAGE_libnetfilter-log is not set # CONFIG_PACKAGE_libnetfilter-queue is not set -# CONFIG_PACKAGE_libnetsnmp is not set +CONFIG_PACKAGE_libnetsnmp=y CONFIG_PACKAGE_libnettle=y # @@ -4275,9 +4383,9 @@ CONFIG_PACKAGE_libnl-tiny=y # CONFIG_PACKAGE_libparted is not set # CONFIG_PACKAGE_libpbc is not set # CONFIG_PACKAGE_libpcap is not set -# CONFIG_PACKAGE_libpci is not set +CONFIG_PACKAGE_libpci=y # CONFIG_PACKAGE_libpciaccess is not set -# CONFIG_PACKAGE_libpcre is not set +CONFIG_PACKAGE_libpcre=y # CONFIG_PACKAGE_libpcre16 is not set # CONFIG_PACKAGE_libpcre2 is not set # CONFIG_PACKAGE_libpcre2-16 is not set @@ -4297,13 +4405,13 @@ CONFIG_PACKAGE_libnl-tiny=y # CONFIG_PACKAGE_libqrtr-glib is not set # CONFIG_PACKAGE_libquickjs is not set # CONFIG_PACKAGE_libradcli is not set -# CONFIG_PACKAGE_libreadline is not set +CONFIG_PACKAGE_libreadline=y # CONFIG_PACKAGE_libredblack is not set # CONFIG_PACKAGE_librouteros is not set # CONFIG_PACKAGE_libroxml is not set # CONFIG_PACKAGE_librrd1 is not set # CONFIG_PACKAGE_librtlsdr is not set -# CONFIG_PACKAGE_libruby is not set +CONFIG_PACKAGE_libruby=y # CONFIG_PACKAGE_libsamplerate is not set # CONFIG_PACKAGE_libsane is not set # CONFIG_PACKAGE_libsasl2 is not set @@ -4344,7 +4452,14 @@ CONFIG_PACKAGE_libsmartcols=y # CONFIG_PACKAGE_libsndfile is not set # CONFIG_PACKAGE_libsoc is not set # CONFIG_PACKAGE_libsocks is not set -# CONFIG_PACKAGE_libsodium is not set +CONFIG_PACKAGE_libsodium=y + +# +# Configuration +# +CONFIG_LIBSODIUM_MINIMAL=y +# end of Configuration + # CONFIG_PACKAGE_libsoup is not set # CONFIG_PACKAGE_libsoxr is not set # CONFIG_PACKAGE_libspeex is not set @@ -4374,7 +4489,7 @@ CONFIG_PACKAGE_libuci-lua=y # CONFIG_PACKAGE_libuci2 is not set CONFIG_PACKAGE_libuclient=y # CONFIG_PACKAGE_libudev-zero is not set -# CONFIG_PACKAGE_libudns is not set +CONFIG_PACKAGE_libudns=y # CONFIG_PACKAGE_libuecc is not set # CONFIG_PACKAGE_libugpio is not set # CONFIG_PACKAGE_libunistring is not set @@ -4446,7 +4561,13 @@ CONFIG_PACKAGE_terminfo=y # CONFIG_PACKAGE_xmlrpc-c-client is not set # CONFIG_PACKAGE_xmlrpc-c-server is not set # CONFIG_PACKAGE_yajl is not set -# CONFIG_PACKAGE_zlib is not set +CONFIG_PACKAGE_zlib=y + +# +# Configuration +# +# CONFIG_ZLIB_OPTIMIZE_SPEED is not set +# end of Configuration # end of Libraries # @@ -4500,7 +4621,7 @@ CONFIG_LUCI_LANG_zh-cn=y # CONFIG_LUCI_LANG_zh-tw is not set # end of Translations -# CONFIG_PACKAGE_luci-compat is not set +CONFIG_PACKAGE_luci-compat=y CONFIG_PACKAGE_luci-mod-admin-full=y # CONFIG_PACKAGE_luci-mod-failsafe is not set # CONFIG_PACKAGE_luci-mod-rpc is not set @@ -4512,8 +4633,9 @@ CONFIG_PACKAGE_luci-mod-admin-full=y # CONFIG_PACKAGE_luci-app-UUGameAcc is not set # CONFIG_PACKAGE_luci-app-accesscontrol is not set # CONFIG_PACKAGE_luci-app-acme is not set +# CONFIG_PACKAGE_luci-app-adblock is not set # CONFIG_PACKAGE_luci-app-adbyby-plus is not set -# CONFIG_PACKAGE_luci-app-adguardhome is not set +CONFIG_PACKAGE_luci-app-adguardhome=y CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary=y # CONFIG_PACKAGE_luci-app-advanced is not set # CONFIG_PACKAGE_luci-app-advanced-reboot is not set @@ -4523,7 +4645,7 @@ CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary=y # CONFIG_PACKAGE_luci-app-airplay2 is not set # CONFIG_PACKAGE_luci-app-airwhu is not set # CONFIG_PACKAGE_luci-app-aliddns is not set -# CONFIG_PACKAGE_luci-app-alist is not set +CONFIG_PACKAGE_luci-app-alist=y # CONFIG_PACKAGE_luci-app-aliyundrive-fuse is not set # CONFIG_PACKAGE_luci-app-aliyundrive-webdav is not set # CONFIG_PACKAGE_luci-app-amlogic is not set @@ -4546,6 +4668,7 @@ CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary=y # CONFIG_PACKAGE_luci-app-beardropper is not set # CONFIG_PACKAGE_luci-app-bird1-ipv4 is not set # CONFIG_PACKAGE_luci-app-bird1-ipv6 is not set +# CONFIG_PACKAGE_luci-app-bmtedge is not set # CONFIG_PACKAGE_luci-app-bmx6 is not set # CONFIG_PACKAGE_luci-app-bridge is not set # CONFIG_PACKAGE_luci-app-brook-server is not set @@ -4564,23 +4687,25 @@ CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Trojan=y # CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Socks5_Proxy is not set CONFIG_PACKAGE_luci-app-bypass_INCLUDE_Socks_Server=y # CONFIG_PACKAGE_luci-app-cd8021x is not set -# CONFIG_PACKAGE_luci-app-chatgpt is not set +# CONFIG_PACKAGE_luci-app-chatgpt-web is not set +# CONFIG_PACKAGE_luci-app-chinesesubfinder is not set # CONFIG_PACKAGE_luci-app-cifs is not set # CONFIG_PACKAGE_luci-app-cifs-mount is not set # CONFIG_PACKAGE_luci-app-cjdns is not set # CONFIG_PACKAGE_luci-app-clamav is not set # CONFIG_PACKAGE_luci-app-clash is not set # CONFIG_PACKAGE_luci-app-cloudflarespeedtest is not set +# CONFIG_PACKAGE_luci-app-codeserver is not set # CONFIG_PACKAGE_luci-app-commands is not set # CONFIG_PACKAGE_luci-app-control-timewol is not set # CONFIG_PACKAGE_luci-app-control-webrestriction is not set # CONFIG_PACKAGE_luci-app-control-weburl is not set -CONFIG_PACKAGE_luci-app-cpufreq=y +# CONFIG_PACKAGE_luci-app-cpufreq is not set # CONFIG_PACKAGE_luci-app-cpulimit is not set # CONFIG_PACKAGE_luci-app-cshark is not set # CONFIG_PACKAGE_luci-app-cupsd is not set # CONFIG_PACKAGE_luci-app-dawn is not set -# CONFIG_PACKAGE_luci-app-ddns is not set +CONFIG_PACKAGE_luci-app-ddns=y # CONFIG_PACKAGE_luci-app-ddns-go is not set # CONFIG_PACKAGE_luci-app-ddnsto is not set # CONFIG_PACKAGE_luci-app-design-config is not set @@ -4597,11 +4722,14 @@ CONFIG_PACKAGE_luci-app-diskman_INCLUDE_lsblk=y # CONFIG_PACKAGE_luci-app-dnsmasq-ipset is not set # CONFIG_PACKAGE_luci-app-docker is not set # CONFIG_PACKAGE_luci-app-dockerman is not set +# CONFIG_PACKAGE_luci-app-drawio is not set # CONFIG_PACKAGE_luci-app-dump1090 is not set # CONFIG_PACKAGE_luci-app-dynapoint is not set # CONFIG_PACKAGE_luci-app-easymesh is not set # CONFIG_PACKAGE_luci-app-easyupdate is not set +# CONFIG_PACKAGE_luci-app-emby is not set # CONFIG_PACKAGE_luci-app-eqos is not set +# CONFIG_PACKAGE_luci-app-excalidraw is not set # CONFIG_PACKAGE_luci-app-fileassistant is not set # CONFIG_PACKAGE_luci-app-filebrowser is not set CONFIG_PACKAGE_luci-app-filetransfer=y @@ -4611,14 +4739,18 @@ CONFIG_PACKAGE_luci-app-firewall=y # CONFIG_PACKAGE_luci-app-fullconenat is not set # CONFIG_PACKAGE_luci-app-fwknopd is not set # CONFIG_PACKAGE_luci-app-go-aliyundrive-webdav is not set +# CONFIG_PACKAGE_luci-app-gogs is not set # CONFIG_PACKAGE_luci-app-gost is not set # CONFIG_PACKAGE_luci-app-gowebdav is not set # CONFIG_PACKAGE_luci-app-guest-wifi is not set # CONFIG_PACKAGE_luci-app-haproxy-tcp is not set # CONFIG_PACKAGE_luci-app-hd-idle is not set +# CONFIG_PACKAGE_luci-app-heimdall is not set # CONFIG_PACKAGE_luci-app-hnet is not set +# CONFIG_PACKAGE_luci-app-homeassistant is not set # CONFIG_PACKAGE_luci-app-homebridge is not set # CONFIG_PACKAGE_luci-app-homeproxy is not set +# CONFIG_PACKAGE_luci-app-homeredirect is not set # CONFIG_PACKAGE_luci-app-https-dns-proxy is not set # CONFIG_PACKAGE_luci-app-https_dns_proxy is not set # CONFIG_PACKAGE_luci-app-ikoolproxy is not set @@ -4628,20 +4760,25 @@ CONFIG_PACKAGE_luci-app-firewall=y # CONFIG_PACKAGE_luci-app-ipsec-vpnd is not set # CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers is not set # CONFIG_PACKAGE_luci-app-iptvhelper is not set +# CONFIG_PACKAGE_luci-app-irqbalance is not set # CONFIG_PACKAGE_luci-app-istorex is not set +# CONFIG_PACKAGE_luci-app-jackett is not set +# CONFIG_PACKAGE_luci-app-jellyfin is not set # CONFIG_PACKAGE_luci-app-kcptun is not set # CONFIG_PACKAGE_luci-app-kodexplorer is not set # CONFIG_PACKAGE_luci-app-koolproxyR is not set # CONFIG_PACKAGE_luci-app-ksmbd is not set +# CONFIG_PACKAGE_luci-app-lanraragi is not set # CONFIG_PACKAGE_luci-app-linkease is not set # CONFIG_PACKAGE_luci-app-lucky is not set # CONFIG_PACKAGE_luci-app-lxc is not set # CONFIG_PACKAGE_luci-app-mail is not set +# CONFIG_PACKAGE_luci-app-memos is not set # CONFIG_PACKAGE_luci-app-mentohust is not set # CONFIG_PACKAGE_luci-app-minidlna is not set # CONFIG_PACKAGE_luci-app-minieap is not set # CONFIG_PACKAGE_luci-app-mjpg-streamer is not set -# CONFIG_PACKAGE_luci-app-mosdns is not set +CONFIG_PACKAGE_luci-app-mosdns=y # CONFIG_PACKAGE_luci-app-msd_lite is not set # CONFIG_PACKAGE_luci-app-multiaccountdial is not set # CONFIG_PACKAGE_luci-app-music-remote-center is not set @@ -4651,10 +4788,13 @@ CONFIG_PACKAGE_luci-app-firewall=y # CONFIG_PACKAGE_luci-app-mymind is not set # CONFIG_PACKAGE_luci-app-n2n_v2 is not set # CONFIG_PACKAGE_luci-app-naiveproxy is not set +# CONFIG_PACKAGE_luci-app-nastools is not set # CONFIG_PACKAGE_luci-app-natter is not set +# CONFIG_PACKAGE_luci-app-navidrome is not set # CONFIG_PACKAGE_luci-app-netdata is not set # CONFIG_PACKAGE_luci-app-netkeeper-interception is not set # CONFIG_PACKAGE_luci-app-netspeedtest is not set +# CONFIG_PACKAGE_luci-app-nextcloud is not set # CONFIG_PACKAGE_luci-app-nfs is not set # CONFIG_PACKAGE_luci-app-nft-qos is not set # CONFIG_PACKAGE_luci-app-nginx-manager is not set @@ -4667,17 +4807,19 @@ CONFIG_PACKAGE_luci-app-firewall=y # CONFIG_PACKAGE_luci-app-ntpc is not set # CONFIG_PACKAGE_luci-app-oaf is not set # CONFIG_PACKAGE_luci-app-ocserv is not set +# CONFIG_PACKAGE_luci-app-oled is not set # CONFIG_PACKAGE_luci-app-olsr is not set # CONFIG_PACKAGE_luci-app-olsr-services is not set # CONFIG_PACKAGE_luci-app-olsr-viz is not set # CONFIG_PACKAGE_luci-app-onliner is not set -# CONFIG_PACKAGE_luci-app-openclash is not set +CONFIG_PACKAGE_luci-app-openclash=y CONFIG_PACKAGE_iptables-mod-tproxy=y CONFIG_PACKAGE_iptables-mod-extra=y # CONFIG_PACKAGE_luci-app-openvpn is not set # CONFIG_PACKAGE_luci-app-openvpn-client is not set # CONFIG_PACKAGE_luci-app-openvpn-server is not set # CONFIG_PACKAGE_luci-app-oscam is not set +# CONFIG_PACKAGE_luci-app-owntone is not set # CONFIG_PACKAGE_luci-app-p910nd is not set # CONFIG_PACKAGE_luci-app-packet-capture is not set # CONFIG_PACKAGE_luci-app-pagekitec is not set @@ -4717,6 +4859,7 @@ CONFIG_PACKAGE_luci-app-passwall_INCLUDE_Xray=y # CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Brook is not set CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Haproxy=y # CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Hysteria is not set +# CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_IPv6_Nat is not set # CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_NaiveProxy is not set CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Shadowsocks_Libev_Client=y # CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Shadowsocks_Libev_Server is not set @@ -4725,11 +4868,14 @@ CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Shadowsocks_Rust_Client=y CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_ShadowsocksR_Libev_Client=y # CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_ShadowsocksR_Libev_Server is not set CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_Simple_Obfs=y +CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_SingBox=y # CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_tuic_client is not set -# CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_V2ray is not set CONFIG_PACKAGE_luci-app-passwall2_INCLUDE_V2ray_Plugin=y # end of Configuration +# CONFIG_PACKAGE_luci-app-penpot is not set +# CONFIG_PACKAGE_luci-app-photoprism is not set +# CONFIG_PACKAGE_luci-app-plex is not set # CONFIG_PACKAGE_luci-app-polipo is not set # CONFIG_PACKAGE_luci-app-poweroff is not set # CONFIG_PACKAGE_luci-app-poweroffdevice is not set @@ -4775,7 +4921,7 @@ CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-ng=y # CONFIG_PACKAGE_luci-app-ssocks is not set # CONFIG_PACKAGE_luci-app-ssr-libev-server is not set # CONFIG_PACKAGE_luci-app-ssr-mudb-server is not set -# CONFIG_PACKAGE_luci-app-ssr-plus is not set +CONFIG_PACKAGE_luci-app-ssr-plus=y # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_NONE_Client is not set # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Client is not set CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Rust_Client=y @@ -4803,6 +4949,7 @@ CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client=y # CONFIG_PACKAGE_luci-app-supervisord is not set # CONFIG_PACKAGE_luci-app-syncdial is not set # CONFIG_PACKAGE_luci-app-syncthing is not set +# CONFIG_PACKAGE_luci-app-systools is not set # CONFIG_PACKAGE_luci-app-sysuh3c is not set # CONFIG_PACKAGE_luci-app-tcpdump is not set # CONFIG_PACKAGE_luci-app-tencentcloud-cos is not set @@ -4815,12 +4962,14 @@ CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client=y # CONFIG_PACKAGE_luci-app-trojan-server is not set # CONFIG_PACKAGE_luci-app-ttnode is not set # CONFIG_PACKAGE_luci-app-ttyd is not set -CONFIG_PACKAGE_luci-app-turboacc=y +# CONFIG_PACKAGE_luci-app-turboacc is not set CONFIG_PACKAGE_TURBOACC_INCLUDE_OFFLOADING=y # CONFIG_PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE is not set CONFIG_PACKAGE_TURBOACC_INCLUDE_BBR_CCA=y # CONFIG_PACKAGE_TURBOACC_INCLUDE_DNSFORWARDER is not set # CONFIG_PACKAGE_TURBOACC_INCLUDE_DNSPROXY is not set +# CONFIG_PACKAGE_luci-app-ua2f is not set +# CONFIG_PACKAGE_luci-app-ubuntu is not set # CONFIG_PACKAGE_luci-app-udp2raw is not set # CONFIG_PACKAGE_luci-app-udpxy is not set # CONFIG_PACKAGE_luci-app-uhttpd is not set @@ -4830,13 +4979,15 @@ CONFIG_UnblockNeteaseMusic_NodeJS=y # CONFIG_PACKAGE_luci-app-unblockneteasemusic is not set # CONFIG_PACKAGE_luci-app-unblockneteasemusic-go is not set # CONFIG_PACKAGE_luci-app-unbound is not set +# CONFIG_PACKAGE_luci-app-unifi is not set # CONFIG_PACKAGE_luci-app-unishare is not set -# CONFIG_PACKAGE_luci-app-upnp is not set +CONFIG_PACKAGE_luci-app-upnp=y # CONFIG_PACKAGE_luci-app-usb-printer is not set # CONFIG_PACKAGE_luci-app-usb3disable is not set # CONFIG_PACKAGE_luci-app-uugamebooster is not set # CONFIG_PACKAGE_luci-app-v2ray-server is not set # CONFIG_PACKAGE_luci-app-v2raya is not set +# CONFIG_PACKAGE_luci-app-vaultwarden is not set # CONFIG_PACKAGE_luci-app-verysync is not set # CONFIG_PACKAGE_luci-app-vlmcsd is not set # CONFIG_PACKAGE_luci-app-vnstat is not set @@ -4865,7 +5016,9 @@ CONFIG_PACKAGE_luci-app-webd_INCLUDE_WEBD_BINARY=y # CONFIG_PACKAGE_luci-app-wol is not set # CONFIG_PACKAGE_luci-app-wolplus is not set # CONFIG_PACKAGE_luci-app-wrtbwmon is not set +# CONFIG_PACKAGE_luci-app-wxedge is not set # CONFIG_PACKAGE_luci-app-xlnetacc is not set +# CONFIG_PACKAGE_luci-app-xteve is not set # CONFIG_PACKAGE_luci-app-zerotier is not set # end of 3. Applications @@ -4887,7 +5040,7 @@ CONFIG_PACKAGE_luci-theme-argone=y # CONFIG_PACKAGE_luci-theme-bootstrap is not set # CONFIG_PACKAGE_luci-theme-bootstrap-mod is not set # CONFIG_PACKAGE_luci-theme-darkmatter is not set -# CONFIG_PACKAGE_luci-theme-design is not set +CONFIG_PACKAGE_luci-theme-design=y # CONFIG_PACKAGE_luci-theme-edge is not set # CONFIG_PACKAGE_luci-theme-ifit is not set # CONFIG_PACKAGE_luci-theme-infinityfreedom is not set @@ -4908,7 +5061,7 @@ CONFIG_PACKAGE_luci-theme-argone=y # CONFIG_PACKAGE_luci-proto-3g is not set # CONFIG_PACKAGE_luci-proto-bonding is not set # CONFIG_PACKAGE_luci-proto-ipip is not set -# CONFIG_PACKAGE_luci-proto-ipv6 is not set +CONFIG_PACKAGE_luci-proto-ipv6=y # CONFIG_PACKAGE_luci-proto-mbim is not set # CONFIG_PACKAGE_luci-proto-minieap is not set # CONFIG_PACKAGE_luci-proto-modemmanager is not set @@ -4943,11 +5096,16 @@ CONFIG_PACKAGE_luci-lib-nixio=y # CONFIG_PACKAGE_luci-lib-nixio_cyassl is not set CONFIG_PACKAGE_luci-lib-nixio_openssl=y # CONFIG_PACKAGE_luci-lib-px5g is not set +# CONFIG_PACKAGE_luci-lib-taskd is not set # CONFIG_PACKAGE_luci-lib-xterm is not set # end of 6. Libraries CONFIG_PACKAGE_default-settings=y CONFIG_PACKAGE_default-settings-chn=y +CONFIG_PACKAGE_luci-i18n-adguardhome-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-adguardhome-zh_Hans is not set +CONFIG_PACKAGE_luci-i18n-alist-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-alist-zh_Hans is not set # CONFIG_PACKAGE_luci-i18n-base-ca is not set # CONFIG_PACKAGE_luci-i18n-base-cs is not set # CONFIG_PACKAGE_luci-i18n-base-de is not set @@ -4974,7 +5132,35 @@ CONFIG_PACKAGE_default-settings-chn=y # CONFIG_PACKAGE_luci-i18n-base-vi is not set CONFIG_PACKAGE_luci-i18n-base-zh-cn=y # CONFIG_PACKAGE_luci-i18n-base-zh-tw is not set -CONFIG_PACKAGE_luci-i18n-cpufreq-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-ddns-bg is not set +# CONFIG_PACKAGE_luci-i18n-ddns-ca is not set +# CONFIG_PACKAGE_luci-i18n-ddns-cs is not set +# CONFIG_PACKAGE_luci-i18n-ddns-de is not set +# CONFIG_PACKAGE_luci-i18n-ddns-el is not set +# CONFIG_PACKAGE_luci-i18n-ddns-en is not set +# CONFIG_PACKAGE_luci-i18n-ddns-es is not set +# CONFIG_PACKAGE_luci-i18n-ddns-fr is not set +# CONFIG_PACKAGE_luci-i18n-ddns-he is not set +# CONFIG_PACKAGE_luci-i18n-ddns-hi is not set +# CONFIG_PACKAGE_luci-i18n-ddns-hu is not set +# CONFIG_PACKAGE_luci-i18n-ddns-it is not set +# CONFIG_PACKAGE_luci-i18n-ddns-ja is not set +# CONFIG_PACKAGE_luci-i18n-ddns-ko is not set +# CONFIG_PACKAGE_luci-i18n-ddns-mr is not set +# CONFIG_PACKAGE_luci-i18n-ddns-ms is not set +# CONFIG_PACKAGE_luci-i18n-ddns-no is not set +# CONFIG_PACKAGE_luci-i18n-ddns-pl is not set +# CONFIG_PACKAGE_luci-i18n-ddns-pt is not set +# CONFIG_PACKAGE_luci-i18n-ddns-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-ddns-ro is not set +# CONFIG_PACKAGE_luci-i18n-ddns-ru is not set +# CONFIG_PACKAGE_luci-i18n-ddns-sk is not set +# CONFIG_PACKAGE_luci-i18n-ddns-sv is not set +# CONFIG_PACKAGE_luci-i18n-ddns-tr is not set +# CONFIG_PACKAGE_luci-i18n-ddns-uk is not set +# CONFIG_PACKAGE_luci-i18n-ddns-vi is not set +CONFIG_PACKAGE_luci-i18n-ddns-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-ddns-zh-tw is not set CONFIG_PACKAGE_luci-i18n-filetransfer-zh-cn=y # CONFIG_PACKAGE_luci-i18n-firewall-ca is not set # CONFIG_PACKAGE_luci-i18n-firewall-cs is not set @@ -5002,7 +5188,34 @@ CONFIG_PACKAGE_luci-i18n-filetransfer-zh-cn=y # CONFIG_PACKAGE_luci-i18n-firewall-vi is not set CONFIG_PACKAGE_luci-i18n-firewall-zh-cn=y # CONFIG_PACKAGE_luci-i18n-firewall-zh-tw is not set -CONFIG_PACKAGE_luci-i18n-turboacc-zh-cn=y +CONFIG_PACKAGE_luci-i18n-mosdns-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-mosdns-zh_Hans is not set +CONFIG_PACKAGE_luci-i18n-ssr-plus-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-upnp-ca is not set +# CONFIG_PACKAGE_luci-i18n-upnp-cs is not set +# CONFIG_PACKAGE_luci-i18n-upnp-de is not set +# CONFIG_PACKAGE_luci-i18n-upnp-el is not set +# CONFIG_PACKAGE_luci-i18n-upnp-en is not set +# CONFIG_PACKAGE_luci-i18n-upnp-es is not set +# CONFIG_PACKAGE_luci-i18n-upnp-fr is not set +# CONFIG_PACKAGE_luci-i18n-upnp-he is not set +# CONFIG_PACKAGE_luci-i18n-upnp-hu is not set +# CONFIG_PACKAGE_luci-i18n-upnp-it is not set +# CONFIG_PACKAGE_luci-i18n-upnp-ja is not set +# CONFIG_PACKAGE_luci-i18n-upnp-ms is not set +# CONFIG_PACKAGE_luci-i18n-upnp-no is not set +# CONFIG_PACKAGE_luci-i18n-upnp-pl is not set +# CONFIG_PACKAGE_luci-i18n-upnp-pt is not set +# CONFIG_PACKAGE_luci-i18n-upnp-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-upnp-ro is not set +# CONFIG_PACKAGE_luci-i18n-upnp-ru is not set +# CONFIG_PACKAGE_luci-i18n-upnp-sk is not set +# CONFIG_PACKAGE_luci-i18n-upnp-sv is not set +# CONFIG_PACKAGE_luci-i18n-upnp-tr is not set +# CONFIG_PACKAGE_luci-i18n-upnp-uk is not set +# CONFIG_PACKAGE_luci-i18n-upnp-vi is not set +CONFIG_PACKAGE_luci-i18n-upnp-zh-cn=y +# CONFIG_PACKAGE_luci-i18n-upnp-zh-tw is not set # end of LuCI # @@ -5188,7 +5401,7 @@ CONFIG_PACKAGE_curl=y # CONFIG_PACKAGE_webdav-go is not set # CONFIG_PACKAGE_webdav2 is not set # CONFIG_PACKAGE_wget-nossl is not set -# CONFIG_PACKAGE_wget-ssl is not set +CONFIG_PACKAGE_wget-ssl=y # end of File Transfer # @@ -5214,7 +5427,9 @@ CONFIG_PACKAGE_curl=y # CONFIG_PACKAGE_ebtables is not set # CONFIG_PACKAGE_fwknop is not set # CONFIG_PACKAGE_fwknopd is not set -# CONFIG_PACKAGE_ip6tables is not set +CONFIG_PACKAGE_ip6tables=y +# CONFIG_PACKAGE_ip6tables-extra is not set +CONFIG_PACKAGE_ip6tables-mod-nat=y CONFIG_PACKAGE_iptables=y # CONFIG_IPTABLES_CONNLABEL is not set # CONFIG_IPTABLES_NFTABLES is not set @@ -5270,7 +5485,7 @@ CONFIG_PACKAGE_iptables-mod-fullconenat=y # end of Select iptgeoip options # CONFIG_PACKAGE_miniupnpc is not set -# CONFIG_PACKAGE_miniupnpd is not set +CONFIG_PACKAGE_miniupnpd=y # CONFIG_MINIUPNPD_IGDv2 is not set # CONFIG_PACKAGE_natpmpc is not set # CONFIG_PACKAGE_nftables-json is not set @@ -5320,15 +5535,23 @@ CONFIG_PACKAGE_iptables-mod-fullconenat=y # CONFIG_PACKAGE_bind-server is not set # CONFIG_PACKAGE_bind-tools is not set # CONFIG_PACKAGE_chinadns is not set -# CONFIG_PACKAGE_chinadns-ng is not set -# CONFIG_PACKAGE_ddns-scripts is not set +CONFIG_PACKAGE_chinadns-ng=y +CONFIG_PACKAGE_ddns-scripts=y # CONFIG_PACKAGE_ddns-scripts_aliyun is not set +# CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4 is not set +# CONFIG_PACKAGE_ddns-scripts_cnkuai_cn is not set +# CONFIG_PACKAGE_ddns-scripts_digitalocean.com-v2 is not set # CONFIG_PACKAGE_ddns-scripts_dnspod is not set +# CONFIG_PACKAGE_ddns-scripts_freedns_42_pl is not set +# CONFIG_PACKAGE_ddns-scripts_godaddy.com-v1 is not set +# CONFIG_PACKAGE_ddns-scripts_no-ip_com is not set +# CONFIG_PACKAGE_ddns-scripts_nsupdate is not set +# CONFIG_PACKAGE_ddns-scripts_route53-v1 is not set # CONFIG_PACKAGE_dhcp-forwarder is not set # CONFIG_PACKAGE_dns-forwarder is not set # CONFIG_PACKAGE_dns-over-https is not set -# CONFIG_PACKAGE_dns2socks is not set -# CONFIG_PACKAGE_dns2tcp is not set +CONFIG_PACKAGE_dns2socks=y +CONFIG_PACKAGE_dns2tcp=y # CONFIG_PACKAGE_dnscrypt-proxy is not set # CONFIG_PACKAGE_dnscrypt-proxy-resolvers is not set # CONFIG_PACKAGE_dnslookup is not set @@ -5366,7 +5589,7 @@ CONFIG_PACKAGE_iptables-mod-fullconenat=y # CONFIG_PACKAGE_mdns-utils is not set # CONFIG_PACKAGE_mdnsd is not set # CONFIG_PACKAGE_mdnsresponder is not set -# CONFIG_PACKAGE_mosdns is not set +CONFIG_PACKAGE_mosdns=y # CONFIG_PACKAGE_nsd is not set # CONFIG_PACKAGE_nsd-control is not set # CONFIG_PACKAGE_nsd-control-setup is not set @@ -5378,7 +5601,7 @@ CONFIG_PCAP_DNSPROXY_LIBPCAP=y CONFIG_PCAP_DNSPROXY_LIBSODIUM=y CONFIG_PCAP_DNSPROXY_TLS=y CONFIG_PCAP_DNSPROXY_LISTENPORT=1053 -CONFIG_PACKAGE_pdnsd-alt=y +# CONFIG_PACKAGE_pdnsd-alt is not set # CONFIG_PACKAGE_stubby is not set # CONFIG_PACKAGE_tor-hs is not set # CONFIG_PACKAGE_torsocks is not set @@ -5388,8 +5611,8 @@ CONFIG_PACKAGE_pdnsd-alt=y # CONFIG_PACKAGE_unbound-control-setup is not set # CONFIG_PACKAGE_unbound-daemon is not set # CONFIG_PACKAGE_unbound-host is not set -# CONFIG_PACKAGE_v2ray-geoip is not set -# CONFIG_PACKAGE_v2ray-geosite is not set +CONFIG_PACKAGE_v2ray-geoip=y +CONFIG_PACKAGE_v2ray-geosite=y # CONFIG_PACKAGE_wsdd2 is not set # CONFIG_PACKAGE_zonestitcher is not set # end of IP Addresses and Names @@ -5541,7 +5764,7 @@ CONFIG_PACKAGE_pdnsd-alt=y # CONFIG_PACKAGE_genl is not set # CONFIG_PACKAGE_igmpproxy is not set # CONFIG_PACKAGE_ip-bridge is not set -# CONFIG_PACKAGE_ip-full is not set +CONFIG_PACKAGE_ip-full=y # CONFIG_PACKAGE_ip-tiny is not set # CONFIG_PACKAGE_iptvhelper is not set # CONFIG_PACKAGE_lldpd is not set @@ -5766,7 +5989,7 @@ CONFIG_PACKAGE_pdnsd-alt=y # # Web Servers/Proxies # -# CONFIG_PACKAGE_alist is not set +CONFIG_PACKAGE_alist=y # CONFIG_PACKAGE_apache is not set # CONFIG_PACKAGE_brook is not set # CONFIG_PACKAGE_cgi-io is not set @@ -5787,7 +6010,7 @@ CONFIG_PACKAGE_pdnsd-alt=y # CONFIG_PACKAGE_kcptun-server is not set # CONFIG_PACKAGE_lighttpd is not set # CONFIG_PACKAGE_linkease is not set -# CONFIG_PACKAGE_microsocks is not set +CONFIG_PACKAGE_microsocks=y # CONFIG_PACKAGE_naiveproxy is not set # CONFIG_PACKAGE_nginx-all-module is not set # CONFIG_PACKAGE_nginx-mod-luci is not set @@ -5810,15 +6033,15 @@ CONFIG_PACKAGE_pdnsd-alt=y # CONFIG_PACKAGE_shadowsocks-libev-ss-rules is not set # CONFIG_PACKAGE_shadowsocks-libev-ss-server is not set # CONFIG_PACKAGE_shadowsocks-libev-ss-tunnel is not set -# CONFIG_PACKAGE_shadowsocks-rust-sslocal is not set +CONFIG_PACKAGE_shadowsocks-rust-sslocal=y # CONFIG_PACKAGE_shadowsocks-rust-ssmanager is not set -# CONFIG_PACKAGE_shadowsocks-rust-ssserver is not set +CONFIG_PACKAGE_shadowsocks-rust-ssserver=y # CONFIG_PACKAGE_shadowsocks-rust-ssservice is not set # CONFIG_PACKAGE_shadowsocks-rust-ssurl is not set -# CONFIG_PACKAGE_shadowsocksr-libev-ssr-check is not set -# CONFIG_PACKAGE_shadowsocksr-libev-ssr-local is not set +CONFIG_PACKAGE_shadowsocksr-libev-ssr-check=y +CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y # CONFIG_PACKAGE_shadowsocksr-libev-ssr-nat is not set -# CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir is not set +CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir=y # CONFIG_PACKAGE_shadowsocksr-libev-ssr-server is not set # CONFIG_PACKAGE_sing-box is not set # CONFIG_PACKAGE_sockd is not set @@ -5828,9 +6051,7 @@ CONFIG_PACKAGE_pdnsd-alt=y # CONFIG_PACKAGE_squid is not set # CONFIG_PACKAGE_srelay is not set # CONFIG_PACKAGE_tinyproxy is not set -# CONFIG_PACKAGE_trojan is not set # CONFIG_PACKAGE_trojan-go is not set -# CONFIG_PACKAGE_trojan-plus is not set # CONFIG_PACKAGE_tuic-client is not set CONFIG_PACKAGE_uhttpd=y # CONFIG_PACKAGE_uhttpd-mod-lua is not set @@ -5839,6 +6060,7 @@ CONFIG_PACKAGE_uhttpd-mod-ubus=y # CONFIG_PACKAGE_v2ray-plugin is not set # CONFIG_PACKAGE_v2raya is not set # CONFIG_PACKAGE_xray-plugin is not set +# CONFIG_PACKAGE_xunyou is not set # end of Web Servers/Proxies # @@ -5899,20 +6121,21 @@ CONFIG_PACKAGE_uhttpd-mod-ubus=y # end of arp-scan # CONFIG_PACKAGE_464xlat is not set -# CONFIG_PACKAGE_6in4 is not set +CONFIG_PACKAGE_6in4=y # CONFIG_PACKAGE_6rd is not set # CONFIG_PACKAGE_6to4 is not set +# CONFIG_PACKAGE_HomeRedirect is not set # CONFIG_PACKAGE_ShadowVPN is not set # CONFIG_PACKAGE_UDPspeeder is not set # CONFIG_PACKAGE_acme is not set # CONFIG_PACKAGE_acme-dnsapi is not set +# CONFIG_PACKAGE_adblock is not set # CONFIG_PACKAGE_adbyby is not set # CONFIG_PACKAGE_addrwatch is not set # CONFIG_PACKAGE_addrwatch-mysql is not set # CONFIG_PACKAGE_addrwatch-stdout is not set # CONFIG_PACKAGE_addrwatch-syslog is not set # CONFIG_PACKAGE_adguardhome is not set -# CONFIG_ADGUARDHOME_COMPRESS_GOPROXY is not set # CONFIG_PACKAGE_ahcpd is not set # CONFIG_PACKAGE_alfred is not set # CONFIG_PACKAGE_apcupsd is not set @@ -5992,7 +6215,7 @@ CONFIG_PACKAGE_uhttpd-mod-ubus=y # CONFIG_PACKAGE_iperf3 is not set # CONFIG_PACKAGE_iperf3-ssl is not set # CONFIG_PACKAGE_ipip is not set -# CONFIG_PACKAGE_ipset is not set +CONFIG_PACKAGE_ipset=y # CONFIG_PACKAGE_ipset-dns is not set # CONFIG_PACKAGE_ipset-lists is not set # CONFIG_PACKAGE_ipt2socks is not set @@ -6012,7 +6235,7 @@ CONFIG_PACKAGE_uhttpd-mod-ubus=y # CONFIG_PACKAGE_krb5-libs is not set # CONFIG_PACKAGE_krb5-server is not set # CONFIG_PACKAGE_krb5-server-extras is not set -# CONFIG_PACKAGE_libipset is not set +CONFIG_PACKAGE_libipset=y # CONFIG_PACKAGE_linknx is not set # CONFIG_PACKAGE_lucky is not set # CONFIG_PACKAGE_mac-telnet-client is not set @@ -6057,9 +6280,17 @@ CONFIG_PACKAGE_uhttpd-mod-ubus=y # CONFIG_PACKAGE_nlbwmon is not set # CONFIG_PACKAGE_noping is not set # CONFIG_PACKAGE_nut is not set -# CONFIG_PACKAGE_odhcp6c is not set +CONFIG_PACKAGE_odhcp6c=y +CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 # CONFIG_PACKAGE_odhcpd is not set -# CONFIG_PACKAGE_odhcpd-ipv6only is not set +CONFIG_PACKAGE_odhcpd-ipv6only=y + +# +# Configuration +# +CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 +# end of Configuration + # CONFIG_PACKAGE_ola is not set # CONFIG_PACKAGE_omcproxy is not set # CONFIG_PACKAGE_onionshare-cli is not set @@ -6089,7 +6320,6 @@ CONFIG_PACKAGE_ppp-mod-pppoe=y # CONFIG_PACKAGE_proxychains-ng is not set # CONFIG_PACKAGE_radsecproxy is not set # CONFIG_PACKAGE_ratched is not set -# CONFIG_PACKAGE_redsocks is not set # CONFIG_PACKAGE_remserial is not set # CONFIG_PACKAGE_rpcapd is not set # CONFIG_PACKAGE_rpcbind is not set @@ -6109,14 +6339,21 @@ CONFIG_PACKAGE_ppp-mod-pppoe=y # CONFIG_PACKAGE_sctp-tools is not set # CONFIG_PACKAGE_ser2net is not set # CONFIG_PACKAGE_simple-adblock is not set -# CONFIG_PACKAGE_simple-obfs-client is not set +CONFIG_PACKAGE_simple-obfs=y # CONFIG_PACKAGE_simple-obfs-server is not set + +# +# Simple-obfs Compile Configuration +# +# CONFIG_SIMPLE_OBFS_STATIC_LINK is not set +# end of Simple-obfs Compile Configuration + # CONFIG_PACKAGE_slirp4netns is not set # CONFIG_PACKAGE_smartdns is not set # CONFIG_PACKAGE_smbinfo is not set # CONFIG_PACKAGE_snmp-mibs is not set # CONFIG_PACKAGE_snmp-utils is not set -# CONFIG_PACKAGE_snmpd is not set +CONFIG_PACKAGE_snmpd=y # CONFIG_PACKAGE_snmptrapd is not set # CONFIG_PACKAGE_socat is not set # CONFIG_PACKAGE_softflowd is not set @@ -6136,7 +6373,7 @@ CONFIG_SPEEDTEST_WEB_COMPRESS_UPX=y # CONFIG_PACKAGE_tayga is not set # CONFIG_PACKAGE_tcpdump is not set # CONFIG_PACKAGE_tcpdump-mini is not set -# CONFIG_PACKAGE_tcping is not set +CONFIG_PACKAGE_tcping=y # CONFIG_PACKAGE_tcping-simple is not set # CONFIG_PACKAGE_tcpping is not set # CONFIG_PACKAGE_tgt is not set @@ -6145,6 +6382,8 @@ CONFIG_SPEEDTEST_WEB_COMPRESS_UPX=y # CONFIG_PACKAGE_tor is not set # CONFIG_PACKAGE_tor-basic is not set # CONFIG_PACKAGE_travelmate is not set +# CONFIG_PACKAGE_trojan is not set +# CONFIG_PACKAGE_trojan-plus is not set # CONFIG_PACKAGE_u2pnpd is not set # CONFIG_PACKAGE_uacme is not set # CONFIG_PACKAGE_uacme-ualpn is not set @@ -6171,11 +6410,13 @@ CONFIG_PACKAGE_uclient-fetch=y # CONFIG_PACKAGE_wakeonlan is not set # CONFIG_PACKAGE_webd is not set # CONFIG_PACKAGE_wg-installer-client is not set +# CONFIG_PACKAGE_wg-installer-server is not set # CONFIG_PACKAGE_wol is not set # CONFIG_PACKAGE_wpan-tools is not set # CONFIG_PACKAGE_wwan is not set # CONFIG_PACKAGE_xinetd is not set -# CONFIG_PACKAGE_xray-core is not set +CONFIG_PACKAGE_xray-core=y +# CONFIG_PACKAGE_xray-example is not set # end of Network # @@ -6247,9 +6488,17 @@ CONFIG_PACKAGE_uboot-envtools=y # CONFIG_PACKAGE_lz4 is not set # CONFIG_PACKAGE_pigz is not set # CONFIG_PACKAGE_unrar is not set -# CONFIG_PACKAGE_unzip is not set +CONFIG_PACKAGE_unzip=y # CONFIG_PACKAGE_upx-static is not set -# CONFIG_PACKAGE_xz-utils is not set +CONFIG_PACKAGE_xz-utils=y +# CONFIG_PACKAGE_lzmadec is not set +# CONFIG_PACKAGE_lzmainfo is not set +CONFIG_PACKAGE_xz=y +# CONFIG_PACKAGE_xzdec is not set +# CONFIG_PACKAGE_xzdiff is not set +# CONFIG_PACKAGE_xzgrep is not set +# CONFIG_PACKAGE_xzless is not set +# CONFIG_PACKAGE_xzmore is not set # CONFIG_PACKAGE_zipcmp is not set # CONFIG_PACKAGE_zipmerge is not set # CONFIG_PACKAGE_ziptool is not set @@ -6306,7 +6555,7 @@ CONFIG_PACKAGE_partx-utils=y # # CONFIG_PACKAGE_hexedit is not set # CONFIG_PACKAGE_joe is not set -# CONFIG_PACKAGE_nano is not set +CONFIG_PACKAGE_nano=y # CONFIG_PACKAGE_nano-full is not set # CONFIG_PACKAGE_nano-plus is not set # CONFIG_PACKAGE_vim is not set @@ -6428,7 +6677,7 @@ CONFIG_PACKAGE_ntfs3-mount=y # # Shells # -# CONFIG_PACKAGE_bash is not set +CONFIG_PACKAGE_bash=y # CONFIG_PACKAGE_fish is not set # CONFIG_PACKAGE_klish is not set # CONFIG_PACKAGE_mksh is not set @@ -6585,7 +6834,112 @@ CONFIG_PACKAGE_ntfs3-mount=y # CONFIG_PACKAGE_conmon is not set # CONFIG_PACKAGE_containerd is not set # CONFIG_PACKAGE_coremark is not set -# CONFIG_PACKAGE_coreutils is not set +CONFIG_PACKAGE_coreutils=y +# CONFIG_PACKAGE_coreutils-b2sum is not set +# CONFIG_PACKAGE_coreutils-base32 is not set +CONFIG_PACKAGE_coreutils-base64=y +# CONFIG_PACKAGE_coreutils-basename is not set +# CONFIG_PACKAGE_coreutils-basenc is not set +# CONFIG_PACKAGE_coreutils-cat is not set +# CONFIG_PACKAGE_coreutils-chcon is not set +# CONFIG_PACKAGE_coreutils-chgrp is not set +# CONFIG_PACKAGE_coreutils-chmod is not set +# CONFIG_PACKAGE_coreutils-chown is not set +# CONFIG_PACKAGE_coreutils-chroot is not set +# CONFIG_PACKAGE_coreutils-cksum is not set +# CONFIG_PACKAGE_coreutils-comm is not set +# CONFIG_PACKAGE_coreutils-cp is not set +# CONFIG_PACKAGE_coreutils-csplit is not set +# CONFIG_PACKAGE_coreutils-cut is not set +# CONFIG_PACKAGE_coreutils-date is not set +# CONFIG_PACKAGE_coreutils-dd is not set +# CONFIG_PACKAGE_coreutils-df is not set +# CONFIG_PACKAGE_coreutils-dir is not set +# CONFIG_PACKAGE_coreutils-dircolors is not set +# CONFIG_PACKAGE_coreutils-dirname is not set +# CONFIG_PACKAGE_coreutils-du is not set +# CONFIG_PACKAGE_coreutils-echo is not set +# CONFIG_PACKAGE_coreutils-env is not set +# CONFIG_PACKAGE_coreutils-expand is not set +# CONFIG_PACKAGE_coreutils-expr is not set +# CONFIG_PACKAGE_coreutils-factor is not set +# CONFIG_PACKAGE_coreutils-false is not set +# CONFIG_PACKAGE_coreutils-fmt is not set +# CONFIG_PACKAGE_coreutils-fold is not set +# CONFIG_PACKAGE_coreutils-groups is not set +# CONFIG_PACKAGE_coreutils-head is not set +# CONFIG_PACKAGE_coreutils-hostid is not set +# CONFIG_PACKAGE_coreutils-id is not set +# CONFIG_PACKAGE_coreutils-install is not set +# CONFIG_PACKAGE_coreutils-join is not set +# CONFIG_PACKAGE_coreutils-kill is not set +# CONFIG_PACKAGE_coreutils-link is not set +# CONFIG_PACKAGE_coreutils-ln is not set +# CONFIG_PACKAGE_coreutils-logname is not set +# CONFIG_PACKAGE_coreutils-ls is not set +# CONFIG_PACKAGE_coreutils-md5sum is not set +# CONFIG_PACKAGE_coreutils-mkdir is not set +# CONFIG_PACKAGE_coreutils-mkfifo is not set +# CONFIG_PACKAGE_coreutils-mknod is not set +# CONFIG_PACKAGE_coreutils-mktemp is not set +# CONFIG_PACKAGE_coreutils-mv is not set +# CONFIG_PACKAGE_coreutils-nice is not set +# CONFIG_PACKAGE_coreutils-nl is not set +CONFIG_PACKAGE_coreutils-nohup=y +# CONFIG_PACKAGE_coreutils-nproc is not set +# CONFIG_PACKAGE_coreutils-numfmt is not set +# CONFIG_PACKAGE_coreutils-od is not set +# CONFIG_PACKAGE_coreutils-paste is not set +# CONFIG_PACKAGE_coreutils-pathchk is not set +# CONFIG_PACKAGE_coreutils-pinky is not set +# CONFIG_PACKAGE_coreutils-pr is not set +# CONFIG_PACKAGE_coreutils-printenv is not set +# CONFIG_PACKAGE_coreutils-printf is not set +# CONFIG_PACKAGE_coreutils-ptx is not set +# CONFIG_PACKAGE_coreutils-pwd is not set +# CONFIG_PACKAGE_coreutils-readlink is not set +# CONFIG_PACKAGE_coreutils-realpath is not set +# CONFIG_PACKAGE_coreutils-rm is not set +# CONFIG_PACKAGE_coreutils-rmdir is not set +# CONFIG_PACKAGE_coreutils-runcon is not set +# CONFIG_PACKAGE_coreutils-seq is not set +# CONFIG_PACKAGE_coreutils-sha1sum is not set +# CONFIG_PACKAGE_coreutils-sha224sum is not set +# CONFIG_PACKAGE_coreutils-sha256sum is not set +# CONFIG_PACKAGE_coreutils-sha384sum is not set +# CONFIG_PACKAGE_coreutils-sha512sum is not set +# CONFIG_PACKAGE_coreutils-shred is not set +# CONFIG_PACKAGE_coreutils-shuf is not set +# CONFIG_PACKAGE_coreutils-sleep is not set +# CONFIG_PACKAGE_coreutils-sort is not set +# CONFIG_PACKAGE_coreutils-split is not set +# CONFIG_PACKAGE_coreutils-stat is not set +# CONFIG_PACKAGE_coreutils-stdbuf is not set +# CONFIG_PACKAGE_coreutils-stty is not set +# CONFIG_PACKAGE_coreutils-sum is not set +# CONFIG_PACKAGE_coreutils-sync is not set +# CONFIG_PACKAGE_coreutils-tac is not set +# CONFIG_PACKAGE_coreutils-tail is not set +# CONFIG_PACKAGE_coreutils-tee is not set +# CONFIG_PACKAGE_coreutils-test is not set +# CONFIG_PACKAGE_coreutils-timeout is not set +# CONFIG_PACKAGE_coreutils-touch is not set +# CONFIG_PACKAGE_coreutils-tr is not set +# CONFIG_PACKAGE_coreutils-true is not set +# CONFIG_PACKAGE_coreutils-truncate is not set +# CONFIG_PACKAGE_coreutils-tsort is not set +# CONFIG_PACKAGE_coreutils-tty is not set +# CONFIG_PACKAGE_coreutils-uname is not set +# CONFIG_PACKAGE_coreutils-unexpand is not set +# CONFIG_PACKAGE_coreutils-uniq is not set +# CONFIG_PACKAGE_coreutils-unlink is not set +# CONFIG_PACKAGE_coreutils-uptime is not set +# CONFIG_PACKAGE_coreutils-users is not set +# CONFIG_PACKAGE_coreutils-vdir is not set +# CONFIG_PACKAGE_coreutils-wc is not set +# CONFIG_PACKAGE_coreutils-who is not set +# CONFIG_PACKAGE_coreutils-whoami is not set +# CONFIG_PACKAGE_coreutils-yes is not set # CONFIG_PACKAGE_cpulimit is not set # CONFIG_PACKAGE_cpulimit-ng is not set # CONFIG_PACKAGE_crconf is not set @@ -6624,6 +6978,7 @@ CONFIG_PACKAGE_ntfs3-mount=y # CONFIG_PACKAGE_flashrom-pci is not set # CONFIG_PACKAGE_flashrom-spi is not set # CONFIG_PACKAGE_flashrom-usb is not set +# CONFIG_PACKAGE_flent-tools is not set # CONFIG_PACKAGE_flock is not set # CONFIG_PACKAGE_fritz-caldata is not set # CONFIG_PACKAGE_fritz-tffs is not set @@ -6817,6 +7172,7 @@ CONFIG_STRACE_NONE=y # CONFIG_PACKAGE_sysrepoctl is not set # CONFIG_PACKAGE_sysstat is not set # CONFIG_PACKAGE_tar is not set +# CONFIG_PACKAGE_taskd is not set # CONFIG_PACKAGE_taskset is not set # CONFIG_PACKAGE_taskwarrior is not set # CONFIG_PACKAGE_telegraf is not set @@ -6837,14 +7193,13 @@ CONFIG_STRACE_NONE=y # CONFIG_PACKAGE_uhubctl is not set # CONFIG_PACKAGE_uledd is not set # CONFIG_PACKAGE_unshare is not set -# CONFIG_PACKAGE_upx is not set # CONFIG_PACKAGE_usb-modeswitch is not set # CONFIG_PACKAGE_usbids is not set # CONFIG_PACKAGE_usbutils is not set # CONFIG_PACKAGE_uuidd is not set # CONFIG_PACKAGE_uuidgen is not set # CONFIG_PACKAGE_uvcdynctrl is not set -# CONFIG_PACKAGE_v2dat is not set +CONFIG_PACKAGE_v2dat=y # CONFIG_PACKAGE_v4l-utils is not set # CONFIG_PACKAGE_view1090 is not set # CONFIG_PACKAGE_watchcat is not set diff --git a/base-files/Makefile b/base-files/Makefile deleted file mode 100644 index 8732f82fb..000000000 --- a/base-files/Makefile +++ /dev/null @@ -1,249 +0,0 @@ -# -# Copyright (C) 2007-2021 OpenWrt.org -# Copyright (C) 2010 Vertical Communications -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/version.mk -include $(INCLUDE_DIR)/feeds.mk - -PKG_NAME:=base-files -PKG_FLAGS:=nonshared -PKG_RELEASE:=$(COMMITCOUNT) - -PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ -PKG_BUILD_DEPENDS:=usign/host ucert/host -PKG_LICENSE:=GPL-2.0 - -# Extend depends from version.mk -PKG_CONFIG_DEPENDS += \ - CONFIG_SIGNED_PACKAGES CONFIG_TARGET_INIT_PATH CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE \ - CONFIG_NAND_SUPPORT \ - CONFIG_LEGACY_SDCARD_SUPPORT \ - CONFIG_EMMC_SUPPORT \ - CONFIG_CLEAN_IPKG \ - CONFIG_PER_FEED_REPO \ - $(foreach feed,$(FEEDS_AVAILABLE),CONFIG_FEED_$(feed)) - -include $(INCLUDE_DIR)/package.mk - -ifneq ($(DUMP),1) - STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell echo $(CONFIG_TARGET_INIT_PATH) | $(MKHASH) md5) - TARGET:=-$(BOARD) -endif - -define Package/base-files - SECTION:=base - CATEGORY:=Base system - DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool - TITLE:=Base filesystem for OpenWrt - URL:=http://openwrt.org/ - VERSION:=$(PKG_RELEASE)-$(REVISION) -endef - -define Package/base-files/conffiles -/etc/config/ -/etc/config/network -/etc/config/system -/etc/dropbear/ -/etc/ethers -/etc/group -/etc/hosts -/etc/inittab -/etc/iproute2/rt_protos -/etc/iproute2/rt_tables -/etc/passwd -/etc/profile -/etc/profile.d -/etc/protocols -/etc/rc.local -/etc/services -/etc/shadow -/etc/shells -/etc/shinit -/etc/sysctl.conf -/etc/sysupgrade.conf -$(call $(TARGET)/conffiles) -endef - -define Package/base-files/description - This package contains a base filesystem and system scripts for OpenWrt. -endef - -define ImageConfigOptions - mkdir -p $(1)/lib/preinit - echo 'pi_suppress_stderr="$(CONFIG_TARGET_PREINIT_SUPPRESS_STDERR)"' >$(1)/lib/preinit/00_preinit.conf - echo 'fs_failsafe_wait_timeout=$(if $(CONFIG_TARGET_PREINIT_TIMEOUT),$(CONFIG_TARGET_PREINIT_TIMEOUT),2)' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_init_path="$(TARGET_INIT_PATH)"' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_init_env=$(if $(CONFIG_TARGET_INIT_ENV),$(CONFIG_TARGET_INIT_ENV),"")' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_init_cmd=$(if $(CONFIG_TARGET_INIT_CMD),$(CONFIG_TARGET_INIT_CMD),"/sbin/init")' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_init_suppress_stderr="$(CONFIG_TARGET_INIT_SUPPRESS_STDERR)"' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_ifname=$(if $(CONFIG_TARGET_PREINIT_IFNAME),$(CONFIG_TARGET_PREINIT_IFNAME),"")' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_ip=$(if $(CONFIG_TARGET_PREINIT_IP),$(CONFIG_TARGET_PREINIT_IP),"192.168.1.1")' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_netmask=$(if $(CONFIG_TARGET_PREINIT_NETMASK),$(CONFIG_TARGET_PREINIT_NETMASK),"255.255.255.0")' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_broadcast=$(if $(CONFIG_TARGET_PREINIT_BROADCAST),$(CONFIG_TARGET_PREINIT_BROADCAST),"192.168.1.255")' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_preinit_net_messages="$(CONFIG_TARGET_PREINIT_SHOW_NETMSG)"' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_preinit_no_failsafe_netmsg="$(CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG)"' >>$(1)/lib/preinit/00_preinit.conf - echo 'pi_preinit_no_failsafe="$(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE)"' >>$(1)/lib/preinit/00_preinit.conf -ifeq ($(CONFIG_TARGET_DEFAULT_LAN_IP_FROM_PREINIT),y) - mkdir -p $(1)/etc/board.d - echo '. /lib/functions/uci-defaults.sh' >$(1)/etc/board.d/99-lan-ip - echo 'logger -t 99-lan-ip "setting custom default LAN IP"' >>$(1)/etc/board.d/99-lan-ip - echo 'board_config_update' >>$(1)/etc/board.d/99-lan-ip - echo 'json_select network' >>$(1)/etc/board.d/99-lan-ip - echo 'json_select lan' >>$(1)/etc/board.d/99-lan-ip - echo 'json_add_string ipaddr $(if $(CONFIG_TARGET_PREINIT_IP),$(CONFIG_TARGET_PREINIT_IP),"192.168.1.1")' >>$(1)/etc/board.d/99-lan-ip - echo 'json_add_string netmask $(if $(CONFIG_TARGET_PREINIT_NETMASK),$(CONFIG_TARGET_PREINIT_NETMASK),"255.255.255.0")' >>$(1)/etc/board.d/99-lan-ip - echo 'json_select ..' >>$(1)/etc/board.d/99-lan-ip - echo 'json_select ..' >>$(1)/etc/board.d/99-lan-ip - echo 'board_config_flush' >>$(1)/etc/board.d/99-lan-ip -endif -endef - -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) -endef - -define Build/Compile/Default - -endef -Build/Compile = $(Build/Compile/Default) - -ifdef CONFIG_SIGNED_PACKAGES - define Build/Configure - [ -s $(BUILD_KEY) -a -s $(BUILD_KEY).pub ] || \ - $(STAGING_DIR_HOST)/bin/usign -G -s $(BUILD_KEY) -p $(BUILD_KEY).pub -c "Local build key" - - [ -s $(BUILD_KEY).ucert ] || \ - $(STAGING_DIR_HOST)/bin/ucert -I -c $(BUILD_KEY).ucert -p $(BUILD_KEY).pub -s $(BUILD_KEY) - - endef - -ifndef CONFIG_BUILDBOT - define Package/base-files/install-key - mkdir -p $(1)/etc/opkg/keys - $(CP) $(BUILD_KEY).pub $(1)/etc/opkg/keys/`$(STAGING_DIR_HOST)/bin/usign -F -p $(BUILD_KEY).pub` - - endef -endif -endif - -ifeq ($(CONFIG_NAND_SUPPORT),) - define Package/base-files/nand-support - rm -f $(1)/lib/upgrade/nand.sh - endef -endif - -ifeq ($(CONFIG_EMMC_SUPPORT),) - define Package/base-files/emmc-support - rm -f $(1)/lib/upgrade/emmc.sh - endef -endif - -ifeq ($(CONFIG_LEGACY_SDCARD_SUPPORT),) - define Package/base-files/legacy-sdcard-support - rm -f $(1)/lib/upgrade/legacy-sdcard.sh - endef -endif - - -define Package/base-files/install - $(CP) ./files/* $(1)/ - $(Package/base-files/install-key) - $(Package/base-files/nand-support) - $(Package/base-files/legacy-sdcard-support) - $(Package/base-files/emmc-support) - if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \ - $(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \ - fi - if [ -d $(PLATFORM_DIR)/base-files/. ]; then \ - $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \ - fi - $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \ - if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \ - $(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \ - fi; \ - ) - - $(VERSION_SED_SCRIPT) \ - $(1)/etc/banner \ - $(1)/etc/device_info \ - $(1)/etc/openwrt_release \ - $(1)/etc/openwrt_version \ - $(1)/usr/lib/os-release - - - $(SED) "s#%PATH%#$(TARGET_INIT_PATH)#g" \ - $(1)/sbin/hotplug-call \ - $(1)/etc/preinit \ - $(1)/etc/profile - - mkdir -p \ - $(1)/CONTROL \ - $(1)/dev \ - $(1)/etc/config \ - $(1)/etc/crontabs \ - $(1)/etc/rc.d \ - $(1)/overlay \ - $(1)/lib/firmware \ - $(1)/mnt \ - $(1)/proc \ - $(1)/tmp \ - $(1)/usr/lib \ - $(1)/usr/bin \ - $(1)/sys \ - $(1)/www \ - $(1)/root - - $(LN) /proc/mounts $(1)/etc/mtab - $(if $(LIB_SUFFIX),-$(LN) lib $(1)/lib$(LIB_SUFFIX)) - $(if $(LIB_SUFFIX),-$(LN) lib $(1)/usr/lib$(LIB_SUFFIX)) - -ifneq ($(CONFIG_TARGET_ROOTFS_PERSIST_VAR),y) - rm -f $(1)/var - $(LN) tmp $(1)/var -else - mkdir -p $(1)/var - $(LN) /tmp/run $(1)/var/run -endif - $(LN) /tmp/resolv.conf /tmp/TZ /tmp/localtime $(1)/etc/ - - chmod 0600 $(1)/etc/shadow - chmod 1777 $(1)/tmp - - $(call ImageConfigOptions,$(1)) - $(call Package/base-files/install-target,$(1)) - for conffile in $(1)/etc/config/*; do \ - if [ -f "$$$$conffile" ]; then \ - grep "$$$${conffile##$(1)}" $(1)/CONTROL/conffiles || \ - echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \ - fi \ - done - - $(if $(CONFIG_INCLUDE_CONFIG), \ - echo -e "# Build configuration for board $(BOARD)/$(SUBTARGET)/$(PROFILE)\n" >$(1)/etc/build.config; \ - cat $(BIN_DIR)/config.buildinfo >>$(1)/etc/build.config; \ - cat $(BIN_DIR)/feeds.buildinfo >>$(1)/etc/build.feeds; \ - cat $(BIN_DIR)/version.buildinfo >>$(1)/etc/build.version) - - $(if $(CONFIG_CLEAN_IPKG),, \ - mkdir -p $(1)/etc/opkg; \ - $(call FeedSourcesAppend,$(1)/etc/opkg/distfeeds.conf); \ - $(VERSION_SED_SCRIPT) $(1)/etc/opkg/distfeeds.conf) - $(if $(CONFIG_IPK_FILES_CHECKSUMS),, \ - rm -f $(1)/sbin/pkg_check) - - $(if $(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE), \ - rm -f $(1)/etc/banner.failsafe,) -endef - -ifneq ($(DUMP),1) - -include $(PLATFORM_DIR)/base-files.mk - -include $(PLATFORM_SUBDIR)/base-files.mk -endif - -$(eval $(call BuildPackage,base-files)) diff --git a/base-files/files/bin/board_detect b/base-files/files/bin/board_detect deleted file mode 100755 index 94f45bec5..000000000 --- a/base-files/files/bin/board_detect +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -CFG=$1 - -[ -n "$CFG" ] || CFG=/etc/board.json - -[ -d "/etc/board.d/" -a ! -s "$CFG" ] && { - for a in $(ls /etc/board.d/*); do - [ -s $a ] || continue; - $(. $a) - done -} - -[ -s "$CFG" ] || return 1 diff --git a/base-files/files/bin/config_generate b/base-files/files/bin/config_generate deleted file mode 100755 index be21d0079..000000000 --- a/base-files/files/bin/config_generate +++ /dev/null @@ -1,542 +0,0 @@ -#!/bin/sh - -CFG=/etc/board.json - -. /usr/share/libubox/jshn.sh - -[ -s $CFG ] || /bin/board_detect || exit 1 -[ -s /etc/config/network -a -s /etc/config/system ] && exit 0 - -generate_bridge() { - local name=$1 - local macaddr=$2 - uci -q batch <<-EOF - set network.$name=device - set network.$name.name=$name - set network.$name.type=bridge - EOF - if [ -n "$macaddr" ]; then - uci -q batch <<-EOF - set network.$name.macaddr=$macaddr - EOF - fi -} - -bridge_vlan_id=0 -generate_bridge_vlan() { - local name=$1_vlan - local device=$2 - local ports="$3" - local vlan="$4" - uci -q batch <<-EOF - set network.$name=bridge-vlan - set network.$name.device='$device' - set network.$name.vlan='$vlan' - set network.$name.ports='$ports' - EOF -} - -generate_static_network() { - uci -q batch <<-EOF - delete network.loopback - set network.loopback='interface' - set network.loopback.device='lo' - set network.loopback.proto='static' - set network.loopback.ipaddr='127.0.0.1' - set network.loopback.netmask='255.0.0.0' - EOF - [ -e /proc/sys/net/ipv6 ] && { - uci -q batch <<-EOF - delete network.globals - set network.globals='globals' - set network.globals.ula_prefix='auto' - EOF - } - - if json_is_a dsl object; then - json_select dsl - if json_is_a atmbridge object; then - json_select atmbridge - local vpi vci encaps payload nameprefix - json_get_vars vpi vci encaps payload nameprefix - uci -q batch <<-EOF - delete network.atm - set network.atm='atm-bridge' - set network.atm.vpi='$vpi' - set network.atm.vci='$vci' - set network.atm.encaps='$encaps' - set network.atm.payload='$payload' - set network.atm.nameprefix='$nameprefix' - EOF - json_select .. - fi - - if json_is_a modem object; then - json_select modem - local type annex firmware tone xfer_mode - json_get_vars type annex firmware tone xfer_mode - uci -q batch <<-EOF - delete network.dsl - set network.dsl='dsl' - set network.dsl.annex='$annex' - set network.dsl.firmware='$firmware' - set network.dsl.tone='$tone' - set network.dsl.xfer_mode='$xfer_mode' - EOF - json_select .. - fi - json_select .. - fi -} - -addr_offset=2 -generate_network() { - local ports device macaddr protocol type ipaddr netmask vlan - local bridge=$2 - - json_select network - json_select "$1" - json_get_vars device macaddr metric protocol ipaddr netmask vlan - json_get_values ports ports - json_select .. - json_select .. - - [ -n "$device" -o -n "$ports" ] || return - - # Force bridge for "lan" as it may have other devices (e.g. wireless) - # bridged - [ "$1" = "lan" -a -z "$ports" ] && { - ports="$device" - } - - [ -n "$ports" -a -z "$bridge" ] && { - uci -q batch <<-EOF - add network device - set network.@device[-1].name='br-$1' - set network.@device[-1].type='bridge' - EOF - for port in $ports; do uci add_list network.@device[-1].ports="$port"; done - [ -n "$macaddr" ] && { - for port in $ports; do - uci -q batch <<-EOF - add network device - set network.@device[-1].name='$port' - set network.@device[-1].macaddr='$macaddr' - EOF - done - } - device=br-$1 - type= - macaddr="" - } - - [ -n "$bridge" ] && { - [ -z "$ports" ] && ports="$device" - if [ -z "$vlan" ]; then - bridge_vlan_id=$((bridge_vlan_id + 1)) - vlan=$bridge_vlan_id - fi - generate_bridge_vlan $1 $bridge "$ports" $vlan - device=$bridge.$vlan - type="" - } - - if [ -n "$macaddr" ]; then - uci -q batch <<-EOF - add network device - set network.@device[-1].name='$device' - set network.@device[-1].macaddr='$macaddr' - EOF - fi - - uci -q batch <<-EOF - delete network.$1 - set network.$1='interface' - set network.$1.type='$type' - set network.$1.device='$device' - set network.$1.metric='$metric' - set network.$1.proto='none' - EOF - - case "$protocol" in - static) - local ipad - case "$1" in - lan) ipad=${ipaddr:-"192.168.1.1"} ;; - *) ipad=${ipaddr:-"192.168.$((addr_offset++)).1"} ;; - esac - - netm=${netmask:-"255.255.255.0"} - - uci -q batch <<-EOF - set network.$1.proto='static' - set network.$1.ipaddr='$ipad' - set network.$1.netmask='$netm' - EOF - [ -e /proc/sys/net/ipv6 ] && uci set network.$1.ip6assign='60' - ;; - - dhcp) - # fixup IPv6 slave interface if parent is a bridge - [ "$type" = "bridge" ] && device="br-$1" - - uci set network.$1.proto='dhcp' - [ -e /proc/sys/net/ipv6 ] && { - uci -q batch <<-EOF - delete network.${1}6 - set network.${1}6='interface' - set network.${1}6.device='$device' - set network.${1}6.proto='dhcpv6' - EOF - } - ;; - - pppoe) - uci -q batch <<-EOF - set network.$1.proto='pppoe' - set network.$1.username='username' - set network.$1.password='password' - EOF - [ -e /proc/sys/net/ipv6 ] && { - uci -q batch <<-EOF - set network.$1.ipv6='1' - delete network.${1}6 - set network.${1}6='interface' - set network.${1}6.device='@${1}' - set network.${1}6.proto='dhcpv6' - EOF - } - ;; - - ncm|\ - qmi|\ - mbim) - uci -q batch <<-EOF - set network.$1.proto='${protocol}' - set network.$1.pdptype='ipv4' - EOF - ;; - esac -} - -generate_switch_vlans_ports() { - local switch="$1" - local port ports role roles num attr val - - # - # autogenerate vlans - # - - if json_is_a roles array; then - json_get_keys roles roles - json_select roles - - for role in $roles; do - json_select "$role" - json_get_vars ports - json_select .. - - uci -q batch <<-EOF - add network switch_vlan - set network.@switch_vlan[-1].device='$switch' - set network.@switch_vlan[-1].vlan='$role' - set network.@switch_vlan[-1].ports='$ports' - EOF - done - - json_select .. - fi - - - # - # write port specific settings - # - - if json_is_a ports array; then - json_get_keys ports ports - json_select ports - - for port in $ports; do - json_select "$port" - json_get_vars num - - if json_is_a attr object; then - json_get_keys attr attr - json_select attr - uci -q batch <<-EOF - add network switch_port - set network.@switch_port[-1].device='$switch' - set network.@switch_port[-1].port=$num - EOF - - for attr in $attr; do - json_get_var val "$attr" - uci -q set network.@switch_port[-1].$attr="$val" - done - json_select .. - fi - json_select .. - done - - json_select .. - fi -} - -generate_switch() { - local key="$1" - local vlans - - json_select switch - json_select "$key" - json_get_vars enable reset blinkrate cpu_port \ - ar8xxx_mib_type ar8xxx_mib_poll_interval - - uci -q batch <<-EOF - add network switch - set network.@switch[-1].name='$key' - set network.@switch[-1].reset='$reset' - set network.@switch[-1].enable_vlan='$enable' - set network.@switch[-1].blinkrate='$blinkrate' - set network.@switch[-1].ar8xxx_mib_type='$ar8xxx_mib_type' - set network.@switch[-1].ar8xxx_mib_poll_interval='$ar8xxx_mib_poll_interval' - EOF - - generate_switch_vlans_ports "$1" - - json_select .. - json_select .. -} - -generate_static_system() { - uci -q batch <<-EOF - delete system.@system[0] - add system system - set system.@system[-1].hostname='OpenWrt' - set system.@system[-1].timezone='UTC' - set system.@system[-1].ttylogin='0' - set system.@system[-1].log_size='64' - set system.@system[-1].urandom_seed='0' - - delete system.ntp - set system.ntp='timeserver' - set system.ntp.enabled='1' - set system.ntp.enable_server='0' - add_list system.ntp.server='0.openwrt.pool.ntp.org' - add_list system.ntp.server='1.openwrt.pool.ntp.org' - add_list system.ntp.server='2.openwrt.pool.ntp.org' - add_list system.ntp.server='3.openwrt.pool.ntp.org' - EOF - - if json_is_a system object; then - json_select system - local hostname - if json_get_var hostname hostname; then - uci -q set "system.@system[-1].hostname=$hostname" - fi - - local compat_version - if json_get_var compat_version compat_version; then - uci -q set "system.@system[-1].compat_version=$compat_version" - else - uci -q set "system.@system[-1].compat_version=1.0" - fi - - if json_is_a ntpserver array; then - local keys key - json_get_keys keys ntpserver - json_select ntpserver - uci -q delete "system.ntp.server" - - for key in $keys; do - local server - if json_get_var server "$key"; then - uci -q add_list "system.ntp.server=$server" - fi - done - json_select .. - fi - json_select .. - fi -} - -generate_rssimon() { - local key="$1" - local cfg="rssid_$key" - local refresh threshold - - json_select rssimon - json_select "$key" - json_get_vars refresh threshold - json_select .. - json_select .. - - uci -q batch <<-EOF - delete system.$cfg - set system.$cfg='rssid' - set system.$cfg.dev='$key' - set system.$cfg.refresh='$refresh' - set system.$cfg.threshold='$threshold' - EOF -} - -generate_led() { - local key="$1" - local cfg="led_$key" - - json_select led - json_select "$key" - json_get_vars name sysfs type trigger default - - uci -q batch <<-EOF - delete system.$cfg - set system.$cfg='led' - set system.$cfg.name='$name' - set system.$cfg.sysfs='$sysfs' - set system.$cfg.trigger='$trigger' - set system.$cfg.default='$default' - EOF - - case "$type" in - gpio) - local gpio inverted - json_get_vars gpio inverted - uci -q batch <<-EOF - set system.$cfg.trigger='gpio' - set system.$cfg.gpio='$gpio' - set system.$cfg.inverted='$inverted' - EOF - ;; - - netdev) - local device mode - json_get_vars device mode - uci -q batch <<-EOF - set system.$cfg.trigger='netdev' - set system.$cfg.mode='$mode' - set system.$cfg.dev='$device' - EOF - ;; - - usb) - local device - json_get_vars device - uci -q batch <<-EOF - set system.$cfg.trigger='usbdev' - set system.$cfg.interval='50' - set system.$cfg.dev='$device' - EOF - ;; - - usbport) - local ports port - json_get_values ports ports - uci set system.$cfg.trigger='usbport' - for port in $ports; do - uci add_list system.$cfg.port=$port - done - ;; - - rssi) - local iface minq maxq offset factor - json_get_vars iface minq maxq offset factor - uci -q batch <<-EOF - set system.$cfg.trigger='rssi' - set system.$cfg.iface='rssid_$iface' - set system.$cfg.minq='$minq' - set system.$cfg.maxq='$maxq' - set system.$cfg.offset='$offset' - set system.$cfg.factor='$factor' - EOF - ;; - - switch) - local port_mask speed_mask mode - json_get_vars port_mask speed_mask mode - uci -q batch <<-EOF - set system.$cfg.port_mask='$port_mask' - set system.$cfg.speed_mask='$speed_mask' - set system.$cfg.mode='$mode' - EOF - ;; - - portstate) - local port_state - json_get_vars port_state - uci -q batch <<-EOF - set system.$cfg.port_state='$port_state' - EOF - ;; - - timer|oneshot) - local delayon delayoff - json_get_vars delayon delayoff - uci -q batch <<-EOF - set system.$cfg.trigger='$type' - set system.$cfg.delayon='$delayon' - set system.$cfg.delayoff='$delayoff' - EOF - ;; - esac - - json_select .. - json_select .. -} - -generate_gpioswitch() { - local cfg="$1" - - json_select gpioswitch - json_select "$cfg" - local name pin default - json_get_vars name pin default - uci -q batch <<-EOF - delete system.$cfg - set system.$cfg='gpio_switch' - set system.$cfg.name='$name' - set system.$cfg.gpio_pin='$pin' - set system.$cfg.value='$default' - EOF - json_select .. - json_select .. -} - -json_init -json_load "$(cat ${CFG})" - -umask 077 - -if [ ! -s /etc/config/network ]; then - bridge_name="" - touch /etc/config/network - generate_static_network - - json_get_vars bridge - [ -n "$bridge" ] && { - json_select bridge - json_get_vars name macaddr - generate_bridge "$name" "$macaddr" - json_select .. - bridge_name=$name - } - - json_get_keys keys network - for key in $keys; do generate_network $key $bridge_name; done - - json_get_keys keys switch - for key in $keys; do generate_switch $key; done -fi - -if [ ! -s /etc/config/system ]; then - touch /etc/config/system - generate_static_system - - json_get_keys keys rssimon - for key in $keys; do generate_rssimon $key; done - - json_get_keys keys gpioswitch - for key in $keys; do generate_gpioswitch $key; done - - json_get_keys keys led - for key in $keys; do generate_led $key; done -fi -uci commit diff --git a/base-files/files/bin/ipcalc.sh b/base-files/files/bin/ipcalc.sh deleted file mode 100755 index 6e72617e1..000000000 --- a/base-files/files/bin/ipcalc.sh +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/awk -f - -function bitcount(c) { - c=and(rshift(c, 1),0x55555555)+and(c,0x55555555) - c=and(rshift(c, 2),0x33333333)+and(c,0x33333333) - c=and(rshift(c, 4),0x0f0f0f0f)+and(c,0x0f0f0f0f) - c=and(rshift(c, 8),0x00ff00ff)+and(c,0x00ff00ff) - c=and(rshift(c,16),0x0000ffff)+and(c,0x0000ffff) - return c -} - -function ip2int(ip) { - ret=0 - n=split(ip,a,"\\.") - for (x=1;x<=n;x++) - ret=or(lshift(ret,8),a[x]) - return ret -} - -function int2ip(ip,ret,x) { - ret=and(ip,255) - ip=rshift(ip,8) - for(;x<3;x++) { - ret=and(ip,255)"."ret - ip=rshift(ip,8) - } - return ret -} - -function compl32(v) { - ret=xor(v, 0xffffffff) - return ret -} - -BEGIN { - slpos=index(ARGV[1],"/") - if (slpos == 0) { - ipaddr=ip2int(ARGV[1]) - dotpos=index(ARGV[2],".") - if (dotpos == 0) - netmask=compl32(2**(32-int(ARGV[2]))-1) - else - netmask=ip2int(ARGV[2]) - } else { - ipaddr=ip2int(substr(ARGV[1],0,slpos-1)) - netmask=compl32(2**(32-int(substr(ARGV[1],slpos+1)))-1) - ARGV[4]=ARGV[3] - ARGV[3]=ARGV[2] - } - - network=and(ipaddr,netmask) - prefix=32-bitcount(compl32(netmask)) - broadcast=or(network,compl32(netmask)) - - print "IP="int2ip(ipaddr) - print "NETMASK="int2ip(netmask) - print "BROADCAST="int2ip(broadcast) - print "NETWORK="int2ip(network) - print "PREFIX="prefix - - # range calculations: - # ipcalc - - if (ARGC <= 3) - exit(0) - - start=or(network,and(ip2int(ARGV[3]),compl32(netmask))) - limit=network+1 - if (startlimit) end=limit - if (end==ipaddr) end=ipaddr-1 - - if (start>end) { - print "network ("int2ip(network)"/"prefix") too small" > "/dev/stderr" - exit(1) - } - - if (ipaddr > start && ipaddr < end) { - print "warning: ipaddr inside range - this might not be supported in future releases of Openwrt" > "/dev/stderr" - } - - print "START="int2ip(start) - print "END="int2ip(end) -} diff --git a/base-files/files/etc/banner b/base-files/files/etc/banner deleted file mode 100644 index f3af3c014..000000000 --- a/base-files/files/etc/banner +++ /dev/null @@ -1,8 +0,0 @@ - _______ ________ __ - | |.-----.-----.-----.| | | |.----.| |_ - | - || _ | -__| || | | || _|| _| - |_______|| __|_____|__|__||________||__| |____| - |__| W I R E L E S S F R E E D O M - ----------------------------------------------------- - %D %V, %C - ----------------------------------------------------- diff --git a/base-files/files/etc/banner.failsafe b/base-files/files/etc/banner.failsafe deleted file mode 100644 index 49855e713..000000000 --- a/base-files/files/etc/banner.failsafe +++ /dev/null @@ -1,15 +0,0 @@ -================= FAILSAFE MODE active ================ -special commands: -* firstboot reset settings to factory defaults -* mount_root mount root-partition with config files - -after mount_root: -* passwd change root's password -* /etc/config directory with config files - -for more help see: -https://openwrt.org/docs/guide-user/troubleshooting/ -- failsafe_and_factory_reset -- root_password_reset -======================================================= - diff --git a/base-files/files/etc/board.d/99-default_network b/base-files/files/etc/board.d/99-default_network deleted file mode 100644 index 49d2a3b35..000000000 --- a/base-files/files/etc/board.d/99-default_network +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2013-2015 OpenWrt.org -# - -. /lib/functions/uci-defaults.sh - -board_config_update - -json_is_a network object && exit 0 - -ucidef_set_interface_lan 'eth0' -[ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1' - -board_config_flush - -exit 0 diff --git a/base-files/files/etc/device_info b/base-files/files/etc/device_info deleted file mode 100644 index 4045e9e02..000000000 --- a/base-files/files/etc/device_info +++ /dev/null @@ -1,4 +0,0 @@ -DEVICE_MANUFACTURER='%M' -DEVICE_MANUFACTURER_URL='%m' -DEVICE_PRODUCT='%P' -DEVICE_REVISION='%h' diff --git a/base-files/files/etc/diag.sh b/base-files/files/etc/diag.sh deleted file mode 100644 index 37a8ec758..000000000 --- a/base-files/files/etc/diag.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# Copyright (C) 2006-2019 OpenWrt.org - -. /lib/functions/leds.sh - -boot="$(get_dt_led boot)" -failsafe="$(get_dt_led failsafe)" -running="$(get_dt_led running)" -upgrade="$(get_dt_led upgrade)" - -set_led_state() { - status_led="$boot" - - case "$1" in - preinit) - status_led_blink_preinit - ;; - failsafe) - status_led_off - [ -n "$running" ] && { - status_led="$running" - status_led_off - } - status_led="$failsafe" - status_led_blink_failsafe - ;; - preinit_regular) - status_led_blink_preinit_regular - ;; - upgrade) - [ -n "$running" ] && { - status_led="$running" - status_led_off - } - status_led="$upgrade" - status_led_blink_preinit_regular - ;; - done) - status_led_off - [ "$status_led" != "$running" ] && \ - status_led_restore_trigger "boot" - [ -n "$running" ] && { - status_led="$running" - status_led_on - } - ;; - esac -} - -set_state() { - [ -n "$boot" -o -n "$failsafe" -o -n "$running" -o -n "$upgrade" ] && set_led_state "$1" -} diff --git a/base-files/files/etc/ethers b/base-files/files/etc/ethers deleted file mode 100644 index b92c200a4..000000000 --- a/base-files/files/etc/ethers +++ /dev/null @@ -1,6 +0,0 @@ -# -# Lookup man 5 ethers for syntax documentation -# -# Examples : -# 02:00:11:22:33:44 OpenWrt.lan -# 02:00:11:22:33:44 192.168.1.1 diff --git a/base-files/files/etc/fstab b/base-files/files/etc/fstab deleted file mode 100644 index 6e9b7baf5..000000000 --- a/base-files/files/etc/fstab +++ /dev/null @@ -1 +0,0 @@ -# diff --git a/base-files/files/etc/group b/base-files/files/etc/group deleted file mode 100644 index 5b06dc6db..000000000 --- a/base-files/files/etc/group +++ /dev/null @@ -1,11 +0,0 @@ -root:x:0: -daemon:x:1: -adm:x:4: -mail:x:8: -dialout:x:20: -audio:x:29: -www-data:x:33: -ftp:x:55: -users:x:100: -network:x:101: -nogroup:x:65534: diff --git a/base-files/files/etc/hosts b/base-files/files/etc/hosts deleted file mode 100644 index b7713ebcc..000000000 --- a/base-files/files/etc/hosts +++ /dev/null @@ -1,5 +0,0 @@ -127.0.0.1 localhost - -::1 localhost ip6-localhost ip6-loopback -ff02::1 ip6-allnodes -ff02::2 ip6-allrouters diff --git a/base-files/files/etc/hotplug.d/net/00-sysctl b/base-files/files/etc/hotplug.d/net/00-sysctl deleted file mode 100644 index 8abe7f8bb..000000000 --- a/base-files/files/etc/hotplug.d/net/00-sysctl +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ "$ACTION" = add ]; then - for CONF in /etc/sysctl.d/*.conf /etc/sysctl.conf; do - [ ! -f "$CONF" ] && continue; - sed -ne "/^[[:space:]]*net\..*\.$DEVICENAME\./p" "$CONF" | \ - sysctl -e -p - | logger -t sysctl - done -fi diff --git a/base-files/files/etc/init.d/boot b/base-files/files/etc/init.d/boot deleted file mode 100755 index 749d9e971..000000000 --- a/base-files/files/etc/init.d/boot +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006-2011 OpenWrt.org - -START=10 -STOP=90 - -uci_apply_defaults() { - . /lib/functions/system.sh - - cd /etc/uci-defaults || return 0 - files="$(ls)" - [ -z "$files" ] && return 0 - mkdir -p /tmp/.uci - for file in $files; do - ( . "./$(basename $file)" ) && rm -f "$file" - done - uci commit -} - -boot() { - [ -f /proc/mounts ] || /sbin/mount_root - [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc - - mkdir -p /var/lock - chmod 1777 /var/lock - mkdir -p /var/log - mkdir -p /var/run - mkdir -p /var/state - mkdir -p /var/tmp - mkdir -p /tmp/.uci - chmod 0700 /tmp/.uci - touch /var/log/wtmp - touch /var/log/lastlog - mkdir -p /tmp/resolv.conf.d - touch /tmp/resolv.conf.d/resolv.conf.auto - ln -sf /tmp/resolv.conf.d/resolv.conf.auto /tmp/resolv.conf - grep -q debugfs /proc/filesystems && /bin/mount -o noatime -t debugfs debugfs /sys/kernel/debug - grep -q bpf /proc/filesystems && /bin/mount -o nosuid,nodev,noexec,noatime,mode=0700 -t bpf bpffs /sys/fs/bpf - grep -q pstore /proc/filesystems && /bin/mount -o noatime -t pstore pstore /sys/fs/pstore - [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe - - /sbin/kmodloader - - [ ! -f /etc/config/wireless ] && { - # compat for bcm47xx and mvebu - sleep 1 - } - - /bin/config_generate - uci_apply_defaults - sync - - # temporary hack until configd exists - /sbin/reload_config -} diff --git a/base-files/files/etc/init.d/done b/base-files/files/etc/init.d/done deleted file mode 100755 index 32d6118df..000000000 --- a/base-files/files/etc/init.d/done +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org - -START=95 -boot() { - mount_root done - rm -f /sysupgrade.tgz && sync - - # process user commands - [ -f /etc/rc.local ] && { - sh /etc/rc.local - } - - # set leds to normal state - . /etc/diag.sh - set_state done -} diff --git a/base-files/files/etc/init.d/gpio_switch b/base-files/files/etc/init.d/gpio_switch deleted file mode 100755 index 24d790b06..000000000 --- a/base-files/files/etc/init.d/gpio_switch +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2015 OpenWrt.org - -START=94 -STOP=10 -USE_PROCD=1 - - -load_gpio_switch() -{ - local name - local gpio_pin - local value - - config_get gpio_pin "$1" gpio_pin - config_get name "$1" name - config_get value "$1" value 0 - - [ -z "$gpio_pin" ] && { - echo >&2 "Skipping gpio_switch '$name' due to missing gpio_pin" - return 1 - } - - local gpio_path - if [ -n "$(echo "$gpio_pin" | grep -E "^[0-9]+$")" ]; then - gpio_path="/sys/class/gpio/gpio${gpio_pin}" - - # export GPIO pin for access - [ -d "$gpio_path" ] || { - echo "$gpio_pin" >/sys/class/gpio/export - # we need to wait a bit until the GPIO appears - [ -d "$gpio_path" ] || sleep 1 - } - - # direction attribute only exists if the kernel supports changing the - # direction of a GPIO - if [ -e "${gpio_path}/direction" ]; then - # set the pin to output with high or low pin value - { [ "$value" = "0" ] && echo "low" || echo "high"; } \ - >"$gpio_path/direction" - else - { [ "$value" = "0" ] && echo "0" || echo "1"; } \ - >"$gpio_path/value" - fi - else - gpio_path="/sys/class/gpio/${gpio_pin}" - - [ -d "$gpio_path" ] && { - { [ "$value" = "0" ] && echo "0" || echo "1"; } \ - >"$gpio_path/value" - } - fi -} - -service_triggers() -{ - procd_add_reload_trigger "system" -} - -start_service() -{ - [ -e /sys/class/gpio/ ] && { - config_load system - config_foreach load_gpio_switch gpio_switch - } -} diff --git a/base-files/files/etc/init.d/led b/base-files/files/etc/init.d/led deleted file mode 100755 index 08a1e6df3..000000000 --- a/base-files/files/etc/init.d/led +++ /dev/null @@ -1,145 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2008 OpenWrt.org - -START=96 - -load_led() { - local name - local sysfs - local trigger - local dev - local ports - local mode - local default - local delayon - local delayoff - local interval - - config_get sysfs $1 sysfs - config_get name $1 name "$sysfs" - config_get trigger $1 trigger "none" - config_get dev $1 dev - config_get ports $1 port - config_get mode $1 mode - config_get_bool default $1 default "0" - config_get delayon $1 delayon - config_get delayoff $1 delayoff - config_get interval $1 interval "50" - config_get port_state $1 port_state - config_get delay $1 delay "150" - config_get message $1 message "" - config_get gpio $1 gpio "0" - config_get_bool inverted $1 inverted "0" - - # execute application led trigger - [ -f "/usr/libexec/led-trigger/${trigger}" ] && { - . "/usr/libexec/led-trigger/${trigger}" - return 0 - } - - [ "$trigger" = "usbdev" ] && { - # Backward compatibility: translate to the new trigger - trigger="usbport" - # Translate port of root hub, e.g. 4-1 -> usb4-port1 - ports=$(echo "$dev" | sed -n 's/^\([0-9]*\)-\([0-9]*\)$/usb\1-port\2/p') - # Translate port of extra hub, e.g. 2-2.4 -> 2-2-port4 - [ -z "$ports" ] && ports=$(echo "$dev" | sed -n 's/\./-port/p') - } - - [ -e /sys/class/leds/${sysfs}/brightness ] && { - echo "setting up led ${name}" - - printf "%s %s %d\n" \ - "$sysfs" \ - "$(sed -ne 's/^.*\[\(.*\)\].*$/\1/p' /sys/class/leds/${sysfs}/trigger)" \ - "$(cat /sys/class/leds/${sysfs}/brightness)" \ - >> /var/run/led.state - - [ "$default" = 0 ] && - echo 0 >/sys/class/leds/${sysfs}/brightness - - echo $trigger > /sys/class/leds/${sysfs}/trigger 2> /dev/null - ret="$?" - - [ $default = 1 ] && - cat /sys/class/leds/${sysfs}/max_brightness > /sys/class/leds/${sysfs}/brightness - - [ $ret = 0 ] || { - echo >&2 "Skipping trigger '$trigger' for led '$name' due to missing kernel module" - return 1 - } - case "$trigger" in - "heartbeat") - echo "${inverted}" > "/sys/class/leds/${sysfs}/invert" - ;; - - "netdev") - [ -n "$dev" ] && { - echo $dev > /sys/class/leds/${sysfs}/device_name - for m in $mode; do - [ -e "/sys/class/leds/${sysfs}/$m" ] && \ - echo 1 > /sys/class/leds/${sysfs}/$m - done - echo $interval > /sys/class/leds/${sysfs}/interval - } - ;; - - "timer"|"oneshot") - [ -n "$delayon" ] && \ - echo $delayon > /sys/class/leds/${sysfs}/delay_on - [ -n "$delayoff" ] && \ - echo $delayoff > /sys/class/leds/${sysfs}/delay_off - ;; - - "usbport") - local p - - for p in $ports; do - echo 1 > /sys/class/leds/${sysfs}/ports/$p - done - ;; - - "port_state") - [ -n "$port_state" ] && \ - echo $port_state > /sys/class/leds/${sysfs}/port_state - ;; - - "gpio") - echo $gpio > /sys/class/leds/${sysfs}/gpio - echo $inverted > /sys/class/leds/${sysfs}/inverted - ;; - - switch[0-9]*) - local port_mask speed_mask - - config_get port_mask $1 port_mask - [ -n "$port_mask" ] && \ - echo $port_mask > /sys/class/leds/${sysfs}/port_mask - config_get speed_mask $1 speed_mask - [ -n "$speed_mask" ] && \ - echo $speed_mask > /sys/class/leds/${sysfs}/speed_mask - [ -n "$mode" ] && \ - echo "$mode" > /sys/class/leds/${sysfs}/mode - ;; - esac - } -} - -start() { - [ -e /sys/class/leds/ ] && { - [ -s /var/run/led.state ] && { - local led trigger brightness - while read led trigger brightness; do - [ -e "/sys/class/leds/$led/trigger" ] && \ - echo "$trigger" > "/sys/class/leds/$led/trigger" - - [ -e "/sys/class/leds/$led/brightness" ] && \ - echo "$brightness" > "/sys/class/leds/$led/brightness" - done < /var/run/led.state - rm /var/run/led.state - } - - config_load system - config_foreach load_led led - } -} diff --git a/base-files/files/etc/init.d/sysctl b/base-files/files/etc/init.d/sysctl deleted file mode 100755 index 4db56444c..000000000 --- a/base-files/files/etc/init.d/sysctl +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org - -START=11 - -apply_defaults() { - local mem="$(awk '/^MemTotal:/ {print $2}' /proc/meminfo)" - local min_free frag_low_thresh frag_high_thresh - - if [ "$mem" -gt 65536 ]; then # 128M - min_free=16384 - elif [ "$mem" -gt 32768 ]; then # 64M - min_free=8192 - else - min_free=1024 - frag_low_thresh=393216 - frag_high_thresh=524288 - fi - - sysctl -qw vm.min_free_kbytes="$min_free" - - [ "$frag_low_thresh" ] && sysctl -qw \ - net.ipv4.ipfrag_low_thresh="$frag_low_thresh" \ - net.ipv4.ipfrag_high_thresh="$frag_high_thresh" \ - net.ipv6.ip6frag_low_thresh="$frag_low_thresh" \ - net.ipv6.ip6frag_high_thresh="$frag_high_thresh" \ - net.netfilter.nf_conntrack_frag6_low_thresh="$frag_low_thresh" \ - net.netfilter.nf_conntrack_frag6_high_thresh="$frag_high_thresh" - - # first set default, then all interfaces to avoid races with appearing interfaces - if [ -d /proc/sys/net/ipv6/conf ]; then - echo 0 > /proc/sys/net/ipv6/conf/default/accept_ra - for iface in /proc/sys/net/ipv6/conf/*/accept_ra; do - echo 0 > "$iface" - done - fi -} - -start() { - apply_defaults - for CONF in /etc/sysctl.d/*.conf /etc/sysctl.conf; do - [ -f "$CONF" ] && sysctl -e -p "$CONF" >&- - done -} diff --git a/base-files/files/etc/init.d/sysfixtime b/base-files/files/etc/init.d/sysfixtime deleted file mode 100755 index 93f792266..000000000 --- a/base-files/files/etc/init.d/sysfixtime +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2013-2014 OpenWrt.org - -START=00 -STOP=90 - -RTC_DEV=/dev/rtc0 -HWCLOCK=/sbin/hwclock - -boot() { - hwclock_load - local maxtime="$(find_max_time)" - local curtime="$(date +%s)" - if [ $curtime -lt $maxtime ]; then - date -s @$maxtime - hwclock_save - fi -} - -start() { - hwclock_load -} - -stop() { - hwclock_save -} - -hwclock_load() { - [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -u -f $RTC_DEV -} - -hwclock_save(){ - [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -w -u -f $RTC_DEV && \ - logger -t sysfixtime "saved '$(date)' to $RTC_DEV" -} - -find_max_time() { - local file newest - - for file in $( find /etc -type f ) ; do - [ -z "$newest" -o "$newest" -ot "$file" ] && newest=$file - done - [ "$newest" ] && date -r "$newest" +%s -} diff --git a/base-files/files/etc/init.d/system b/base-files/files/etc/init.d/system deleted file mode 100755 index dcfc2616c..000000000 --- a/base-files/files/etc/init.d/system +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2014 OpenWrt.org - -START=10 -USE_PROCD=1 - -validate_system_section() { - uci_load_validate system system "$1" "$2" \ - 'hostname:string:OpenWrt' \ - 'conloglevel:uinteger' \ - 'buffersize:uinteger' \ - 'timezone:string:UTC' \ - 'zonename:string' -} - -system_config() { - [ "$2" = 0 ] || { - echo "validation failed" - return 1 - } - - echo "$hostname" > /proc/sys/kernel/hostname - [ -z "$conloglevel" -a -z "$buffersize" ] || dmesg ${conloglevel:+-n $conloglevel} ${buffersize:+-s $buffersize} - echo "$timezone" > /tmp/TZ - [ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/${zonename// /_}" ] \ - && ln -sf "/usr/share/zoneinfo/${zonename// /_}" /tmp/localtime \ - && rm -f /tmp/TZ - - # apply timezone to kernel - hwclock -u --systz -} - -reload_service() { - config_load system - config_foreach validate_system_section system system_config -} - -service_triggers() { - procd_add_reload_trigger "system" - procd_add_validation validate_system_section -} - -start_service() { - reload_service -} diff --git a/base-files/files/etc/init.d/umount b/base-files/files/etc/init.d/umount deleted file mode 100755 index b764ae158..000000000 --- a/base-files/files/etc/init.d/umount +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org - -STOP=90 - -restart() { - : -} - -stop() { - sync - /bin/umount -a -d -r -} diff --git a/base-files/files/etc/inittab b/base-files/files/etc/inittab deleted file mode 100644 index 9820e7144..000000000 --- a/base-files/files/etc/inittab +++ /dev/null @@ -1,3 +0,0 @@ -::sysinit:/etc/init.d/rcS S boot -::shutdown:/etc/init.d/rcS K shutdown -::askconsole:/usr/libexec/login.sh diff --git a/base-files/files/etc/iproute2/ematch_map b/base-files/files/etc/iproute2/ematch_map deleted file mode 100644 index 4d6bb2f03..000000000 --- a/base-files/files/etc/iproute2/ematch_map +++ /dev/null @@ -1,8 +0,0 @@ -# lookup table for ematch kinds -1 cmp -2 nbyte -3 u32 -4 meta -7 canid -8 ipset -9 ipt diff --git a/base-files/files/etc/iproute2/rt_protos b/base-files/files/etc/iproute2/rt_protos deleted file mode 100644 index 5b61798ae..000000000 --- a/base-files/files/etc/iproute2/rt_protos +++ /dev/null @@ -1,18 +0,0 @@ -# -# Reserved protocols. -# -0 unspec -1 redirect -2 kernel -3 boot -4 static -8 gated -9 ra -10 mrt -11 zebra -12 bird -13 dnrouted -14 xorp -15 ntk -16 dhcp -42 babel diff --git a/base-files/files/etc/iproute2/rt_tables b/base-files/files/etc/iproute2/rt_tables deleted file mode 100644 index 5fc09b3c0..000000000 --- a/base-files/files/etc/iproute2/rt_tables +++ /dev/null @@ -1,12 +0,0 @@ -# -# reserved values -# -128 prelocal -255 local -254 main -253 default -0 unspec -# -# local -# -#1 inr.ruhep diff --git a/base-files/files/etc/openwrt_release b/base-files/files/etc/openwrt_release deleted file mode 100644 index d03400ca0..000000000 --- a/base-files/files/etc/openwrt_release +++ /dev/null @@ -1,7 +0,0 @@ -DISTRIB_ID='%D' -DISTRIB_RELEASE='%V' -DISTRIB_REVISION='%R' -DISTRIB_TARGET='%S' -DISTRIB_ARCH='%A' -DISTRIB_DESCRIPTION='%D %V %C' -DISTRIB_TAINTS='%t' diff --git a/base-files/files/etc/openwrt_version b/base-files/files/etc/openwrt_version deleted file mode 100644 index 48157ed97..000000000 --- a/base-files/files/etc/openwrt_version +++ /dev/null @@ -1 +0,0 @@ -%C diff --git a/base-files/files/etc/os-release b/base-files/files/etc/os-release deleted file mode 120000 index c4c75b419..000000000 --- a/base-files/files/etc/os-release +++ /dev/null @@ -1 +0,0 @@ -../usr/lib/os-release \ No newline at end of file diff --git a/base-files/files/etc/passwd b/base-files/files/etc/passwd deleted file mode 100644 index 1d06a8036..000000000 --- a/base-files/files/etc/passwd +++ /dev/null @@ -1,5 +0,0 @@ -root:x:0:0:root:/root:/bin/ash -daemon:*:1:1:daemon:/var:/bin/false -ftp:*:55:55:ftp:/home/ftp:/bin/false -network:*:101:101:network:/var:/bin/false -nobody:*:65534:65534:nobody:/var:/bin/false diff --git a/base-files/files/etc/preinit b/base-files/files/etc/preinit deleted file mode 100755 index 829574f5f..000000000 --- a/base-files/files/etc/preinit +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Copyright (C) 2006-2016 OpenWrt.org -# Copyright (C) 2010 Vertical Communications - -[ -z "$PREINIT" ] && exec /sbin/init - -export PATH="%PATH%" - -. /lib/functions.sh -. /lib/functions/preinit.sh -. /lib/functions/system.sh - -boot_hook_init preinit_essential -boot_hook_init preinit_main -boot_hook_init failsafe -boot_hook_init initramfs -boot_hook_init preinit_mount_root - -for pi_source_file in /lib/preinit/*; do - . $pi_source_file -done - -boot_run_hook preinit_essential - -pi_mount_skip_next=false -pi_jffs2_mount_success=false -pi_failsafe_net_message=false - -boot_run_hook preinit_main diff --git a/base-files/files/etc/profile b/base-files/files/etc/profile deleted file mode 100644 index 76b149b9f..000000000 --- a/base-files/files/etc/profile +++ /dev/null @@ -1,40 +0,0 @@ -[ -e /tmp/.failsafe ] && export FAILSAFE=1 - -[ -f /etc/banner ] && cat /etc/banner -[ -n "$FAILSAFE" ] && cat /etc/banner.failsafe - -grep -Fsq '/ overlay ro,' /proc/mounts && { - echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.' - echo 'Please try to remove files from /overlay/upper/... and reboot!' -} - -export PATH="%PATH%" -export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) -export HOME=${HOME:-/root} -export PS1='\u@\h:\w\$ ' -export ENV=/etc/shinit - -case "$TERM" in - xterm*|rxvt*) - export PS1='\[\e]0;\u@\h: \w\a\]'$PS1 - ;; -esac - -[ -n "$FAILSAFE" ] || { - for FILE in /etc/profile.d/*.sh; do - [ -e "$FILE" ] && . "$FILE" - done - unset FILE -} - -if ( grep -qs '^root::' /etc/shadow && \ - [ -z "$FAILSAFE" ] ) -then -cat << EOF -=== WARNING! ===================================== -There is no root password defined on this device! -Use the "passwd" command to set up a new password -in order to prevent unauthorized SSH logins. --------------------------------------------------- -EOF -fi diff --git a/base-files/files/etc/protocols b/base-files/files/etc/protocols deleted file mode 100644 index 26bc775ed..000000000 --- a/base-files/files/etc/protocols +++ /dev/null @@ -1,57 +0,0 @@ -# Internet (IP) protocols -# -# Updated from http://www.iana.org/assignments/protocol-numbers and other -# sources. -# New protocols will be added on request if they have been officially -# assigned by IANA and are not historical. -# If you need a huge list of used numbers please install the nmap package. - -ip 0 IP # internet protocol, pseudo protocol number -#hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883] -icmp 1 ICMP # internet control message protocol -igmp 2 IGMP # Internet Group Management -ggp 3 GGP # gateway-gateway protocol -ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') -st 5 ST # ST datagram mode -tcp 6 TCP # transmission control protocol -egp 8 EGP # exterior gateway protocol -igp 9 IGP # any private interior gateway (Cisco) -pup 12 PUP # PARC universal packet protocol -udp 17 UDP # user datagram protocol -hmp 20 HMP # host monitoring protocol -xns-idp 22 XNS-IDP # Xerox NS IDP -rdp 27 RDP # "reliable datagram" protocol -iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905] -dccp 33 DCCP # Datagram Congestion Control Protocol [RFC4340] -xtp 36 XTP # Xpress Transfer Protocol -ddp 37 DDP # Datagram Delivery Protocol -idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport -ipv6 41 IPv6 # Internet Protocol, version 6 -ipv6-route 43 IPv6-Route # Routing Header for IPv6 -ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 -idrp 45 IDRP # Inter-Domain Routing Protocol -rsvp 46 RSVP # Reservation Protocol -gre 47 GRE # General Routing Encapsulation -esp 50 IPSEC-ESP # Encap Security Payload [RFC2046] -ah 51 IPSEC-AH # Authentication Header [RFC2402] -skip 57 SKIP # SKIP -ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 -ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 -ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 -rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB) -vmtp 81 VMTP # Versatile Message Transport -eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco) -ospf 89 OSPFIGP # Open Shortest Path First IGP -ax.25 93 AX.25 # AX.25 frames -ipip 94 IPIP # IP-within-IP Encapsulation Protocol -etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378] -encap 98 ENCAP # Yet Another IP encapsulation [RFC1241] -# 99 # any private encryption scheme -pim 103 PIM # Protocol Independent Multicast -ipcomp 108 IPCOMP # IP Payload Compression Protocol -vrrp 112 VRRP # Virtual Router Redundancy Protocol -l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661] -isis 124 ISIS # IS-IS over IPv4 -sctp 132 SCTP # Stream Control Transmission Protocol -fc 133 FC # Fibre Channel - diff --git a/base-files/files/etc/rc.button/failsafe b/base-files/files/etc/rc.button/failsafe deleted file mode 100755 index ba958fa88..000000000 --- a/base-files/files/etc/rc.button/failsafe +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -[ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button - -return 0 diff --git a/base-files/files/etc/rc.button/power b/base-files/files/etc/rc.button/power deleted file mode 100755 index c24574417..000000000 --- a/base-files/files/etc/rc.button/power +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -[ "${ACTION}" = "released" ] || exit 0 - -exec /sbin/poweroff - -return 0 diff --git a/base-files/files/etc/rc.button/reboot b/base-files/files/etc/rc.button/reboot deleted file mode 100755 index cd547e332..000000000 --- a/base-files/files/etc/rc.button/reboot +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -[ "${ACTION}" = "released" ] || exit 0 - -if [ "$SEEN" -ge 5 ] -then - echo "REBOOT" > /dev/console - sync - reboot -fi - -return 0 diff --git a/base-files/files/etc/rc.button/reset b/base-files/files/etc/rc.button/reset deleted file mode 100755 index 2403122ad..000000000 --- a/base-files/files/etc/rc.button/reset +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -. /lib/functions.sh - -OVERLAY="$( grep ' /overlay ' /proc/mounts )" - -case "$ACTION" in -pressed) - [ -z "$OVERLAY" ] && return 0 - - return 5 -;; -timeout) - . /etc/diag.sh - set_state failsafe -;; -released) - if [ "$SEEN" -lt 1 ] - then - echo "REBOOT" > /dev/console - sync - reboot - elif [ "$SEEN" -ge 5 -a -n "$OVERLAY" ] - then - echo "FACTORY RESET" > /dev/console - jffs2reset -y && reboot & - fi -;; -esac - -return 0 diff --git a/base-files/files/etc/rc.button/rfkill b/base-files/files/etc/rc.button/rfkill deleted file mode 100755 index fbdda40ed..000000000 --- a/base-files/files/etc/rc.button/rfkill +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -[ "${ACTION}" = "released" -o -n "${TYPE}" ] || exit 0 - -. /lib/functions.sh - -rfkill_state=0 - -wifi_rfkill_set() { - uci set wireless.$1.disabled=$rfkill_state -} - -wifi_rfkill_check() { - local disabled - config_get disabled $1 disabled - [ "$disabled" = "1" ] || rfkill_state=1 -} - -config_load wireless -case "${TYPE}" in -"switch") - [ "${ACTION}" = "released" ] && rfkill_state=1 - ;; -*) - config_foreach wifi_rfkill_check wifi-device - ;; -esac -config_foreach wifi_rfkill_set wifi-device -uci commit wireless -wifi up - -return 0 diff --git a/base-files/files/etc/rc.common b/base-files/files/etc/rc.common deleted file mode 100755 index d74730384..000000000 --- a/base-files/files/etc/rc.common +++ /dev/null @@ -1,194 +0,0 @@ -#!/bin/sh -# Copyright (C) 2006-2012 OpenWrt.org - -. $IPKG_INSTROOT/lib/functions.sh -. $IPKG_INSTROOT/lib/functions/service.sh - -initscript=$1 -action=${2:-help} -shift 2 - -start() { - return 0 -} - -stop() { - return 0 -} - -reload() { - restart -} - -restart() { - trap '' TERM - stop "$@" - trap - TERM - start "$@" -} - -boot() { - start "$@" -} - -shutdown() { - stop -} - -disable() { - name="$(basename "${initscript}")" - rm -f "$IPKG_INSTROOT"/etc/rc.d/S??$name - rm -f "$IPKG_INSTROOT"/etc/rc.d/K??$name -} - -enable() { - err=1 - name="$(basename "${initscript}")" - [ "$START" ] && \ - ln -sf "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" && \ - err=0 - [ "$STOP" ] && \ - ln -sf "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${STOP}${name##K[0-9][0-9]}" && \ - err=0 - return $err -} - -enabled() { - name="$(basename "${initscript}")" - name="${name##[SK][0-9][0-9]}" - { - [ -z "${START:-}" ] || [ -L "$IPKG_INSTROOT/etc/rc.d/S${START}$name" ] - } && { - [ -z "${STOP:-}" ] || [ -L "$IPKG_INSTROOT/etc/rc.d/K${STOP}$name" ] - } -} - -depends() { - return 0 -} - -ALL_HELP="" -ALL_COMMANDS="boot shutdown depends" -extra_command() { - local cmd="$1" - local help="$2" - - local extra="$(printf "%-16s%s" "${cmd}" "${help}")" - ALL_HELP="${ALL_HELP}\t${extra}\n" - ALL_COMMANDS="${ALL_COMMANDS} ${cmd}" -} - -help() { - cat </dev/null >/dev/null; then - service_started - fi - } - - trace() { - TRACE_SYSCALLS=1 - start "$@" - } - - info() { - json_init - json_add_string name "$(basename ${basescript:-$initscript})" - json_add_boolean verbose "1" - _procd_ubus_call list - } - - stop() { - procd_lock - stop_service "$@" - procd_kill "$(basename ${basescript:-$initscript})" "$1" - if eval "type service_stopped" 2>/dev/null >/dev/null; then - service_stopped - fi - } - - reload() { - if eval "type reload_service" 2>/dev/null >/dev/null; then - procd_lock - reload_service "$@" - else - start - fi - } - - running() { - service_running "$@" - } - - status() { - if eval "type status_service" 2>/dev/null >/dev/null; then - status_service "$@" - else - _procd_status "$(basename ${basescript:-$initscript})" "$1" - fi - } -} - -ALL_COMMANDS="${ALL_COMMANDS} ${EXTRA_COMMANDS}" -ALL_HELP="${ALL_HELP}${EXTRA_HELP}" -list_contains ALL_COMMANDS "$action" || action=help -$action "$@" diff --git a/base-files/files/etc/rc.local b/base-files/files/etc/rc.local deleted file mode 100644 index 56394773c..000000000 --- a/base-files/files/etc/rc.local +++ /dev/null @@ -1,4 +0,0 @@ -# Put your custom commands here that should be executed once -# the system init finished. By default this file does nothing. - -exit 0 diff --git a/base-files/files/etc/services b/base-files/files/etc/services deleted file mode 100644 index 968f9e78b..000000000 --- a/base-files/files/etc/services +++ /dev/null @@ -1,173 +0,0 @@ -echo 7/tcp -echo 7/udp -discard 9/tcp -discard 9/udp -daytime 13/tcp -daytime 13/udp -netstat 15/tcp -chargen 19/tcp -chargen 19/udp -ftp-data 20/tcp -ftp 21/tcp -ssh 22/tcp -ssh 22/udp -telnet 23/tcp -smtp 25/tcp -time 37/tcp -time 37/udp -whois 43/tcp -domain 53/tcp -domain 53/udp -bootps 67/tcp -bootps 67/udp -bootpc 68/tcp -bootpc 68/udp -tftp 69/udp -finger 79/tcp -www 80/tcp http -kerberos 88/tcp kerberos5 krb5 kerberos-sec -kerberos 88/udp kerberos5 krb5 kerberos-sec -pop3 110/tcp -pop3 110/udp -sunrpc 111/tcp rpcbind -sunrpc 111/udp rpcbind -auth 113/tcp ident -sftp 115/tcp -nntp 119/tcp -ntp 123/tcp -ntp 123/udp -netbios-ns 137/tcp -netbios-ns 137/udp -netbios-dgm 138/tcp -netbios-dgm 138/udp -netbios-ssn 139/tcp -netbios-ssn 139/udp -imap2 143/tcp imap -imap2 143/udp imap -snmp 161/tcp -snmp 161/udp -snmp-trap 162/tcp snmptrap -snmp-trap 162/udp snmptrap -xdmcp 177/tcp -xdmcp 177/udp -bgp 179/tcp -bgp 179/udp -imap3 220/tcp -imap3 220/udp -ldap 389/tcp -ldap 389/udp -https 443/tcp -https 443/udp -microsoft-ds 445/tcp -microsoft-ds 445/udp -isakmp 500/tcp -isakmp 500/udp -rtsp 554/tcp -rtsp 554/udp -ipp 631/tcp -ipp 631/udp -syslog 514/udp -printer 515/tcp spooler -dhcpv6-client 546/tcp -dhcpv6-client 546/udp -dhcpv6-server 547/tcp -dhcpv6-server 547/udp -afpovertcp 548/tcp -afpovertcp 548/udp -nntps 563/tcp snntp -nntps 563/udp snntp -submission 587/tcp -submission 587/udp -ldaps 636/tcp -ldaps 636/udp -tinc 655/tcp -tinc 655/udp -rsync 873/tcp -rsync 873/udp -ftps-data 989/tcp -ftps 990/tcp -imaps 993/tcp -imaps 993/udp -ircs 994/tcp -ircs 994/udp -pop3s 995/tcp -pop3s 995/udp -socks 1080/tcp -socks 1080/udp -openvpn 1194/tcp -openvpn 1194/udp -l2f 1701/tcp l2tp -l2f 1701/udp l2tp -radius 1812/tcp -radius 1812/udp -radius-acct 1813/tcp radacct -radius-acct 1813/udp radacct -nfs 2049/tcp -nfs 2049/udp -dict 2628/tcp -dict 2628/udp -gpsd 2947/tcp -gpsd 2947/udp -icpv2 3130/tcp icp -icpv2 3130/udp icp -mysql 3306/tcp -mysql 3306/udp -nut 3493/tcp -nut 3493/udp -distcc 3632/tcp -distcc 3632/udp -daap 3689/tcp -daap 3689/udp -svn 3690/tcp subversion -svn 3690/udp subversion -epmd 4369/tcp -epmd 4369/udp -iax 4569/tcp -iax 4569/udp -mtn 4691/tcp -mtn 4691/udp -munin 4949/tcp -sip 5060/tcp -sip 5060/udp -sip-tls 5061/tcp -sip-tls 5061/udp -xmpp-client 5222/tcp jabber-client -xmpp-client 5222/udp jabber-client -xmpp-server 5269/tcp jabber-server -xmpp-server 5269/udp jabber-server -mdns 5353/tcp -mdns 5353/udp -postgresql 5432/tcp postgres -postgresql 5432/udp postgres -x11 6000/tcp -x11 6000/udp -mysql-proxy 6446/tcp -mysql-proxy 6446/udp -bacula-dir 9101/tcp -bacula-dir 9101/udp -bacula-fd 9102/tcp -bacula-fd 9102/udp -bacula-sd 9103/tcp -bacula-sd 9103/udp -nbd 10809/tcp -zabbix-agent 10050/tcp -zabbix-agent 10050/udp -zabbix-trapper 10051/tcp -zabbix-trapper 10051/udp -hkp 11371/tcp -hkp 11371/udp -ssmtp 465/tcp smtps -spamd 783/tcp -zebrasrv 2600/tcp -zebra 2601/tcp -ripd 2602/tcp -ripngd 2603/tcp -ospfd 2604/tcp -bgpd 2605/tcp -ospf6d 2606/tcp -ospfapi 2607/tcp -isisd 2608/tcp -sane-port 6566/tcp sane saned -ircd 6667/tcp -git 9418/tcp - diff --git a/base-files/files/etc/shadow b/base-files/files/etc/shadow deleted file mode 100644 index 39bdb9c90..000000000 --- a/base-files/files/etc/shadow +++ /dev/null @@ -1,5 +0,0 @@ -root:::0:99999:7::: -daemon:*:0:0:99999:7::: -ftp:*:0:0:99999:7::: -network:*:0:0:99999:7::: -nobody:*:0:0:99999:7::: diff --git a/base-files/files/etc/shells b/base-files/files/etc/shells deleted file mode 100644 index 006aa38ce..000000000 --- a/base-files/files/etc/shells +++ /dev/null @@ -1 +0,0 @@ -/bin/ash diff --git a/base-files/files/etc/shinit b/base-files/files/etc/shinit deleted file mode 100644 index 8df9771e6..000000000 --- a/base-files/files/etc/shinit +++ /dev/null @@ -1,12 +0,0 @@ -[ -x /bin/more ] || [ -x /usr/bin/more ] || alias more=less -[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi - -alias ll='ls -alF --color=auto' - -[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc - -[ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; } -[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } - -[ -n "$KSH_VERSION" -o \! -s "$HOME/.shinit" ] || . "$HOME/.shinit" -[ -z "$KSH_VERSION" -o \! -s "$HOME/.mkshrc" ] || . "$HOME/.mkshrc" diff --git a/base-files/files/etc/sysctl.conf b/base-files/files/etc/sysctl.conf deleted file mode 100644 index ae04212f4..000000000 --- a/base-files/files/etc/sysctl.conf +++ /dev/null @@ -1 +0,0 @@ -# Defaults are configured in /etc/sysctl.d/* and can be customized in this file diff --git a/base-files/files/etc/sysctl.d/10-default.conf b/base-files/files/etc/sysctl.d/10-default.conf deleted file mode 100644 index ee7df2bfa..000000000 --- a/base-files/files/etc/sysctl.d/10-default.conf +++ /dev/null @@ -1,28 +0,0 @@ -# Do not edit, changes to this file will be lost on upgrades -# /etc/sysctl.conf can be used to customize sysctl settings - -kernel.panic=3 -kernel.core_pattern=/tmp/%e.%t.%p.%s.core -fs.suid_dumpable=2 - -fs.protected_hardlinks=1 -fs.protected_symlinks=1 - -net.core.bpf_jit_enable=1 -net.core.bpf_jit_kallsyms=1 - -net.ipv4.conf.default.arp_ignore=1 -net.ipv4.conf.all.arp_ignore=1 -net.ipv4.ip_forward=1 -net.ipv4.icmp_echo_ignore_broadcasts=1 -net.ipv4.icmp_ignore_bogus_error_responses=1 -net.ipv4.igmp_max_memberships=100 -net.ipv4.tcp_fin_timeout=30 -net.ipv4.tcp_keepalive_time=120 -net.ipv4.tcp_syncookies=1 -net.ipv4.tcp_timestamps=1 -net.ipv4.tcp_sack=1 -net.ipv4.tcp_dsack=1 - -net.ipv6.conf.default.forwarding=1 -net.ipv6.conf.all.forwarding=1 diff --git a/base-files/files/etc/sysupgrade.conf b/base-files/files/etc/sysupgrade.conf deleted file mode 100644 index e06fd5e33..000000000 --- a/base-files/files/etc/sysupgrade.conf +++ /dev/null @@ -1,5 +0,0 @@ -## This file contains files and directories that should -## be preserved during an upgrade. - -# /etc/example.conf -# /etc/openvpn/ diff --git a/base-files/files/etc/uci-defaults/10_migrate-shadow b/base-files/files/etc/uci-defaults/10_migrate-shadow deleted file mode 100644 index 481444f35..000000000 --- a/base-files/files/etc/uci-defaults/10_migrate-shadow +++ /dev/null @@ -1,10 +0,0 @@ -ppwd="$(sed -ne '/^root:/s/^root:\([^:]*\):.*$/\1/p' /etc/passwd)" -spwd="$(sed -ne '/^root:/s/^root:\([^:]*\):.*$/\1/p' /etc/shadow)" - -if [ -n "${ppwd#[\!x]}" ] && [ -z "${spwd#[\!x]}" ]; then - logger -t migrate-shadow "Moving root password hash into shadow database" - sed -i -e "s:^root\:[^\:]*\::root\:x\::" /etc/passwd - sed -i -e "s:^root\:[^\:]*\::root\:$ppwd\::" /etc/shadow -fi - -exit 0 diff --git a/base-files/files/etc/uci-defaults/12_network-generate-ula b/base-files/files/etc/uci-defaults/12_network-generate-ula deleted file mode 100644 index 19d7ed7f2..000000000 --- a/base-files/files/etc/uci-defaults/12_network-generate-ula +++ /dev/null @@ -1,13 +0,0 @@ -[ "$(uci -q get network.globals.ula_prefix)" != "auto" ] && exit 0 - -r1=$(dd if=/dev/urandom bs=1 count=1 |hexdump -e '1/1 "%02x"') -r2=$(dd if=/dev/urandom bs=2 count=1 |hexdump -e '2/1 "%02x"') -r3=$(dd if=/dev/urandom bs=2 count=1 |hexdump -e '2/1 "%02x"') - -uci -q batch <<-EOF >/dev/null - set network.globals.ula_prefix=fd$r1:$r2:$r3::/48 - commit network -EOF - -exit 0 - diff --git a/base-files/files/etc/uci-defaults/13_fix-group-user b/base-files/files/etc/uci-defaults/13_fix-group-user deleted file mode 100644 index 74f501e8f..000000000 --- a/base-files/files/etc/uci-defaults/13_fix-group-user +++ /dev/null @@ -1,9 +0,0 @@ -. /lib/functions.sh - -for file in $(grep -sl Require-User /usr/lib/opkg/info/*.control); do - file="${file##*/}" - file="${file%.control}" - add_group_and_user "${file}" -done - -exit 0 diff --git a/base-files/files/lib/functions.sh b/base-files/files/lib/functions.sh deleted file mode 100644 index 4b1b83857..000000000 --- a/base-files/files/lib/functions.sh +++ /dev/null @@ -1,436 +0,0 @@ -# Copyright (C) 2006-2014 OpenWrt.org -# Copyright (C) 2006 Fokus Fraunhofer -# Copyright (C) 2010 Vertical Communications - - -debug () { - ${DEBUG:-:} "$@" -} - -# newline -N=" -" - -_C=0 -NO_EXPORT=1 -LOAD_STATE=1 -LIST_SEP=" " - -# xor multiple hex values of the same length -xor() { - local val - local ret="0x$1" - local retlen=${#1} - - shift - while [ -n "$1" ]; do - val="0x$1" - ret=$((ret ^ val)) - shift - done - - printf "%0${retlen}x" "$ret" -} - -append() { - local var="$1" - local value="$2" - local sep="${3:- }" - - eval "export ${NO_EXPORT:+-n} -- \"$var=\${$var:+\${$var}\${value:+\$sep}}\$value\"" -} - -list_contains() { - local var="$1" - local str="$2" - local val - - eval "val=\" \${$var} \"" - [ "${val%% $str *}" != "$val" ] -} - -config_load() { - [ -n "$IPKG_INSTROOT" ] && return 0 - uci_load "$@" -} - -reset_cb() { - config_cb() { return 0; } - option_cb() { return 0; } - list_cb() { return 0; } -} -reset_cb - -package() { - return 0 -} - -config () { - local cfgtype="$1" - local name="$2" - - export ${NO_EXPORT:+-n} CONFIG_NUM_SECTIONS=$((CONFIG_NUM_SECTIONS + 1)) - name="${name:-cfg$CONFIG_NUM_SECTIONS}" - append CONFIG_SECTIONS "$name" - export ${NO_EXPORT:+-n} CONFIG_SECTION="$name" - config_set "$CONFIG_SECTION" "TYPE" "${cfgtype}" - [ -n "$NO_CALLBACK" ] || config_cb "$cfgtype" "$name" -} - -option () { - local varname="$1"; shift - local value="$*" - - config_set "$CONFIG_SECTION" "${varname}" "${value}" - [ -n "$NO_CALLBACK" ] || option_cb "$varname" "$*" -} - -list() { - local varname="$1"; shift - local value="$*" - local len - - config_get len "$CONFIG_SECTION" "${varname}_LENGTH" 0 - [ $len = 0 ] && append CONFIG_LIST_STATE "${CONFIG_SECTION}_${varname}" - len=$((len + 1)) - config_set "$CONFIG_SECTION" "${varname}_ITEM$len" "$value" - config_set "$CONFIG_SECTION" "${varname}_LENGTH" "$len" - append "CONFIG_${CONFIG_SECTION}_${varname}" "$value" "$LIST_SEP" - [ -n "$NO_CALLBACK" ] || list_cb "$varname" "$*" -} - -config_unset() { - config_set "$1" "$2" "" -} - -# config_get