|
@@ -0,0 +1,251 @@
|
|
|
+# 设置固件大小:
|
|
|
+CONFIG_TARGET_KERNEL_PARTSIZE=30
|
|
|
+CONFIG_TARGET_ROOTFS_PARTSIZE=500
|
|
|
+
|
|
|
+CONFIG_TARGET_x86=y
|
|
|
+CONFIG_TARGET_x86_64=y
|
|
|
+CONFIG_GRUB_TIMEOUT="0"
|
|
|
+CONFIG_SIGNATURE_CHECK=n
|
|
|
+CONFIG_TARGET_ROOTFS_EXT4FS=n
|
|
|
+CONFIG_LUCI_CSSTIDY=n
|
|
|
+
|
|
|
+# EFI支持:
|
|
|
+CONFIG_GRUB_IMAGES=y
|
|
|
+CONFIG_EFI_IMAGES=y
|
|
|
+CONFIG_VMDK_IMAGES=n
|
|
|
+
|
|
|
+# IPv6支持:
|
|
|
+CONFIG_IPV6=n # 如若需要编译docker,需注释此行
|
|
|
+
|
|
|
+# USB3.0支持:
|
|
|
+CONFIG_PACKAGE_kmod-usb2=y
|
|
|
+CONFIG_PACKAGE_kmod-usb2-pci=y
|
|
|
+CONFIG_PACKAGE_kmod-usb3=y
|
|
|
+CONFIG_PACKAGE_kmod-usb-net-rtl8152=y
|
|
|
+
|
|
|
+# Applications
|
|
|
+
|
|
|
+CONFIG_PACKAGE_luci-app-accesscontrol=y
|
|
|
+CONFIG_PACKAGE_luci-app-acme=y
|
|
|
+CONFIG_PACKAGE_luci-app-adblock=n
|
|
|
+CONFIG_PACKAGE_luci-app-adbyby-plus=n
|
|
|
+CONFIG_PACKAGE_luci-app-adguardhome=y
|
|
|
+CONFIG_PACKAGE_luci-app-advanced-reboot=n
|
|
|
+CONFIG_PACKAGE_luci-app-advancedsetting=y
|
|
|
+CONFIG_PACKAGE_luci-app-amule=y
|
|
|
+CONFIG_PACKAGE_luci-app-aria2=y
|
|
|
+CONFIG_PACKAGE_luci-app-arpbind=n
|
|
|
+CONFIG_PACKAGE_luci-app-attendedsysupgrade=n
|
|
|
+CONFIG_PACKAGE_luci-app-autoreboot=y
|
|
|
+CONFIG_PACKAGE_luci-app-baidupcs-web=y
|
|
|
+CONFIG_PACKAGE_luci-app-bcp38=n
|
|
|
+CONFIG_PACKAGE_luci-app-bird1-ipv4=n
|
|
|
+CONFIG_PACKAGE_luci-app-bird1-ipv6=n
|
|
|
+CONFIG_PACKAGE_luci-app-bmx7=n
|
|
|
+CONFIG_PACKAGE_luci-app-brook-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-cifsd=n
|
|
|
+CONFIG_PACKAGE_luci-app-clamav=n
|
|
|
+CONFIG_PACKAGE_luci-app-commands=n
|
|
|
+CONFIG_PACKAGE_luci-app-cpufreq=y
|
|
|
+CONFIG_PACKAGE_luci-app-cshark=n
|
|
|
+CONFIG_PACKAGE_luci-app-ddns=y
|
|
|
+CONFIG_PACKAGE_luci-app-diag-core=n
|
|
|
+CONFIG_PACKAGE_luci-app-diskman=y
|
|
|
+CONFIG_PACKAGE_luci-app-dnscrypt-proxy=n
|
|
|
+# CONFIG_PACKAGE_luci-app-dockerman=y
|
|
|
+# CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_docker_ce=y
|
|
|
+# CONFIG_PACKAGE_luci-app-dockerman_INCLUDE_ttyd=y
|
|
|
+CONFIG_PACKAGE_luci-app-dump1090=n
|
|
|
+CONFIG_PACKAGE_luci-app-dynapoint=n
|
|
|
+CONFIG_PACKAGE_luci-app-e2guardian=n
|
|
|
+CONFIG_PACKAGE_luci-app-eqos=y
|
|
|
+CONFIG_PACKAGE_luci-app-fileassistant=n
|
|
|
+CONFIG_PACKAGE_luci-app-filebrowser=n
|
|
|
+CONFIG_PACKAGE_luci-app-filetransfer=y
|
|
|
+CONFIG_PACKAGE_luci-app-firewall=y
|
|
|
+CONFIG_PACKAGE_luci-app-flowoffload=y
|
|
|
+CONFIG_PACKAGE_luci-app-freifunk-diagnostics=n
|
|
|
+CONFIG_PACKAGE_luci-app-freifunk-policyrouting=n
|
|
|
+CONFIG_PACKAGE_luci-app-freifunk-widgets=n
|
|
|
+CONFIG_PACKAGE_luci-app-frpc=n
|
|
|
+CONFIG_PACKAGE_luci-app-fwknopd=n
|
|
|
+CONFIG_PACKAGE_luci-app-guest-wifi=n
|
|
|
+CONFIG_PACKAGE_luci-app-haproxy-tcp=n
|
|
|
+CONFIG_PACKAGE_luci-app-hd-idle=y
|
|
|
+CONFIG_PACKAGE_luci-app-hnet=n
|
|
|
+CONFIG_PACKAGE_luci-app-https-dns-proxy=n
|
|
|
+CONFIG_PACKAGE_luci-app-ipsec-vpnserver-manyusers=n
|
|
|
+CONFIG_PACKAGE_luci-app-kcptun=n
|
|
|
+CONFIG_PACKAGE_luci-app-php-kodexplorer=y
|
|
|
+CONFIG_PACKAGE_luci-app-ksmbd=y
|
|
|
+CONFIG_PACKAGE_luci-app-lxc=n
|
|
|
+CONFIG_PACKAGE_luci-app-meshwizard=n
|
|
|
+CONFIG_PACKAGE_luci-app-minidlna=n
|
|
|
+CONFIG_PACKAGE_luci-app-mjpg-streamer=n
|
|
|
+CONFIG_PACKAGE_luci-app-mtwifi=n
|
|
|
+CONFIG_PACKAGE_luci-app-mwan3=n
|
|
|
+CONFIG_PACKAGE_luci-app-mwan3helper=n
|
|
|
+CONFIG_PACKAGE_luci-app-netdata=y
|
|
|
+CONFIG_PACKAGE_luci-app-nft-qos=n
|
|
|
+CONFIG_PACKAGE_luci-app-nlbwmon=y
|
|
|
+CONFIG_PACKAGE_luci-app-noddos=n
|
|
|
+CONFIG_PACKAGE_luci-app-nps=n
|
|
|
+CONFIG_PACKAGE_luci-app-ntpc=n
|
|
|
+#CONFIG_PACKAGE_luci-app-oaf=y
|
|
|
+CONFIG_PACKAGE_luci-app-ocserv=n
|
|
|
+CONFIG_PACKAGE_luci-app-olsr=n
|
|
|
+CONFIG_PACKAGE_luci-app-olsr-services=n
|
|
|
+CONFIG_PACKAGE_luci-app-olsr-viz=n
|
|
|
+CONFIG_PACKAGE_luci-app-onliner=y
|
|
|
+CONFIG_PACKAGE_luci-app-openvpn=n
|
|
|
+CONFIG_PACKAGE_luci-app-openvpn-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-opkg=y
|
|
|
+CONFIG_PACKAGE_luci-app-p910nd=n
|
|
|
+CONFIG_PACKAGE_luci-app-pagekitec=n
|
|
|
+CONFIG_PACKAGE_luci-app-polipo=n
|
|
|
+CONFIG_PACKAGE_luci-app-pppoe-relay=n
|
|
|
+CONFIG_PACKAGE_luci-app-pppoe-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-pptp-vpnserver-manyusers=n
|
|
|
+CONFIG_PACKAGE_luci-app-privoxy=n
|
|
|
+CONFIG_PACKAGE_luci-app-qbittorrent=y
|
|
|
+CONFIG_PACKAGE_luci-app-qos=n
|
|
|
+CONFIG_PACKAGE_luci-app-radicale=n
|
|
|
+CONFIG_PACKAGE_luci-app-ramfree=n
|
|
|
+CONFIG_PACKAGE_luci-app-rp-pppoe-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-samba=n
|
|
|
+CONFIG_PACKAGE_luci-app-samba4=n
|
|
|
+CONFIG_PACKAGE_luci-app-serverchan=y
|
|
|
+CONFIG_PACKAGE_luci-app-shadowsocks-libev=n
|
|
|
+CONFIG_PACKAGE_luci-app-shairplay=n
|
|
|
+CONFIG_PACKAGE_luci-app-siitwizard=n
|
|
|
+CONFIG_PACKAGE_luci-app-simple-adblock=n
|
|
|
+CONFIG_PACKAGE_luci-app-smartdns=y
|
|
|
+CONFIG_PACKAGE_luci-app-softethervpn=n
|
|
|
+CONFIG_PACKAGE_luci-app-splash=n
|
|
|
+CONFIG_PACKAGE_luci-app-sqm=y
|
|
|
+CONFIG_PACKAGE_luci-app-squid=n
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-libev-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Simple_obfs=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray_plugin=n
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Redsocks2=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=n
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=n
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
|
|
|
+CONFIG_PACKAGE_luci-app-ssr-python-pro-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-statistics=n
|
|
|
+CONFIG_PACKAGE_luci-app-syncdial=n
|
|
|
+CONFIG_PACKAGE_luci-app-syncthing=n
|
|
|
+CONFIG_PACKAGE_luci-app-tinyproxy=n
|
|
|
+CONFIG_PACKAGE_luci-app-transmission=n
|
|
|
+CONFIG_PACKAGE_luci-app-travelmate=n
|
|
|
+CONFIG_PACKAGE_luci-app-trojan-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-ttyd=y
|
|
|
+CONFIG_PACKAGE_luci-app-udpxy=n
|
|
|
+CONFIG_PACKAGE_luci-app-uhttpd=n
|
|
|
+CONFIG_PACKAGE_luci-app-unblockmusic=y
|
|
|
+CONFIG_UnblockNeteaseMusic_Go=y
|
|
|
+CONFIG_UnblockNeteaseMusic_NodeJS=n
|
|
|
+CONFIG_PACKAGE_luci-app-unbound=n
|
|
|
+CONFIG_PACKAGE_luci-app-upnp=y
|
|
|
+CONFIG_PACKAGE_luci-app-usb-printer=n
|
|
|
+CONFIG_PACKAGE_luci-app-v2ray-server=n
|
|
|
+CONFIG_PACKAGE_luci-app-verysync=y
|
|
|
+CONFIG_PACKAGE_luci-app-vlmcsd=y
|
|
|
+CONFIG_PACKAGE_luci-app-vnstat=n
|
|
|
+CONFIG_PACKAGE_luci-app-vpnbypass=n
|
|
|
+CONFIG_PACKAGE_luci-app-vsftpd=n
|
|
|
+CONFIG_PACKAGE_luci-app-watchcat=y
|
|
|
+CONFIG_PACKAGE_luci-app-webadmin=n
|
|
|
+CONFIG_PACKAGE_luci-app-wifischedule=n
|
|
|
+CONFIG_PACKAGE_luci-app-wireguard=n
|
|
|
+CONFIG_PACKAGE_luci-app-wol=n
|
|
|
+CONFIG_PACKAGE_luci-app-wrtbwmon=y
|
|
|
+CONFIG_PACKAGE_luci-app-xlnetacc=n
|
|
|
+CONFIG_PACKAGE_luci-app-zerotier=n
|
|
|
+
|
|
|
+# CONFIG_PACKAGE_samba4-admin=y
|
|
|
+# CONFIG_PACKAGE_samba4-server=y
|
|
|
+# CONFIG_PACKAGE_samba4-utils=y
|
|
|
+
|
|
|
+CONFIG_PACKAGE_dnsmasq=n
|
|
|
+CONFIG_PACKAGE_dnsmasq-full=y
|
|
|
+CONFIG_PACKAGE_dnsmasq_full_dhcp=y
|
|
|
+CONFIG_PACKAGE_dnsmasq_full_ipset=y
|
|
|
+
|
|
|
+#
|
|
|
+# Themes
|
|
|
+#
|
|
|
+CONFIG_PACKAGE_luci-theme-argon=y
|
|
|
+CONFIG_PACKAGE_luci-theme-bootstrap=y
|
|
|
+CONFIG_PACKAGE_luci-theme-material=n
|
|
|
+CONFIG_PACKAGE_luci-theme-netgear=y
|
|
|
+CONFIG_PACKAGE_luci-theme-openwrt=n
|
|
|
+CONFIG_PACKAGE_luci-theme-rosy=n
|
|
|
+CONFIG_PACKAGE_luci-theme-darkmatter=y
|
|
|
+
|
|
|
+# 其他需要安装的软件包:
|
|
|
+CONFIG_PACKAGE_luci=y
|
|
|
+CONFIG_PACKAGE_luci-base=y
|
|
|
+CONFIG_PACKAGE_luci-compat=y
|
|
|
+CONFIG_PACKAGE_luci-proto-ppp=y
|
|
|
+CONFIG_LUCI_LANG_zh_Hans=y
|
|
|
+CONFIG_LUCI_LANG_en=y
|
|
|
+CONFIG_PACKAGE_nginx-mod-luci-ssl=y
|
|
|
+CONFIG_NGINX_HTTP_V2=y
|
|
|
+CONFIG_NGINX_DAV=y
|
|
|
+CONFIG_NGINX_NAXSI=n
|
|
|
+CONFIG_PACKAGE_python3=y
|
|
|
+CONFIG_PACKAGE_python3-yaml=y
|
|
|
+CONFIG_PACKAGE_python3-urllib3=y
|
|
|
+CONFIG_PACKAGE_default-settings=y
|
|
|
+CONFIG_PACKAGE_iptables-mod-nat-extra=y
|
|
|
+CONFIG_PACKAGE_iptables-mod-filter=y
|
|
|
+CONFIG_PACKAGE_bind-dig=y
|
|
|
+CONFIG_PACKAGE_wget=y
|
|
|
+CONFIG_PACKAGE_curl=y
|
|
|
+CONFIG_PACKAGE_htop=y
|
|
|
+CONFIG_PACKAGE_httping=y
|
|
|
+CONFIG_PACKAGE_tcping=y
|
|
|
+CONFIG_PACKAGE_autocore=n
|
|
|
+CONFIG_PACKAGE_automount=y
|
|
|
+CONFIG_PACKAGE_autosamba=n
|
|
|
+CONFIG_PACKAGE_fdisk=y
|
|
|
+CONFIG_PACKAGE_cfdisk=y
|
|
|
+CONFIG_PACKAGE_iptables-mod-fullconenat=y
|
|
|
+CONFIG_PACKAGE_git=y
|
|
|
+CONFIG_PACKAGE_git-http=y
|
|
|
+CONFIG_PACKAGE_antileech=y
|
|
|
+CONFIG_PACKAGE_acme-dnsapi=y
|
|
|
+CONFIG_PACKAGE_pdnsd-alt=y
|
|
|
+CONFIG_PACKAGE_ddns-scripts_aliyun=y
|
|
|
+CONFIG_PACKAGE_docker-ce=n
|
|
|
+CONFIG_V2RAY_COMPRESS_UPX=n
|
|
|
+# CONFIG_DEVEL=y
|
|
|
+# CONFIG_TOOLCHAINOPTS=y
|
|
|
+# CONFIG_GCC_USE_VERSION_7=y
|
|
|
+CONFIG_PACKAGE_ksmbd-utils=y
|
|
|
+CONFIG_PACKAGE_lm-sensors-detect=y
|
|
|
+CONFIG_PACKAGE_bc=y
|
|
|
+CONFIG_PACKAGE_ethtool=y
|
|
|
+CONFIG_PACKAGE_libsqlite3=y
|
|
|
+CONFIG_PACKAGE_file=y
|
|
|
+CONFIG_PACKAGE_adguardhome=y
|
|
|
+CONFIG_PACKAGE_ariang-nginx=y
|
|
|
+CONFIG_GRUB_BOOTOPTS="nomodeset"
|
|
|
+
|
|
|
+# CONFIG_PACKAGE_php7=y
|
|
|
+# CONFIG_PACKAGE_php7-fpm=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-curl=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-gd=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-iconv=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-json=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-mbstring=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-opcache=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-session=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-zip=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-sqlite3=y
|
|
|
+# CONFIG_PACKAGE_php7-mod-openssl=y
|