https://github.com/ConcaXu/DaoKeDownload 道客巴巴下载器 https://downloads.immortalwrt.org/releases/packages-24.10/x86_64/luci/ luci-i18n-argon-config-zh-cn luci-app-argon-config luci-theme-bootstrap luci-app-attendedsysupgrade luci-i18n-attendedsysupgrade-zh-cn luci-app-openclash luci-app-passwall luci-app-ddns-go luci-app-diskman luci-app-eqos luci-app-filemanager luci-app-frpc luci-app-homeproxy luci-app-qos luci-app-samba4 luci-app-unblockneteasemusic luci-i18n-passwall-zh-cn luci-i18n-ddns-go-zh-cn luci-i18n-diskman-zh-cn luci-i18n-eqos-zh-cn luci-i18n-filemanager-zh-cn luci-i18n-frpc-zh-cn luci-i18n-homeproxy-zh-cn luci-i18n-samba4-zh-cn luci-app-xfrpc luci-i18n-xfrpc-zh-cn # Beware! This script will be in /rom/etc/uci-defaults/ as part of the image. # Uncomment lines to apply: # # wlan_name="ASUS" # wlan_password="18611496096" # # root_password="" # lan_ip_address="192.168.50.1" # # pppoe_username="ip156228152539" # pppoe_password="152539" # log potential errors exec >/tmp/setup.log 2>&1 if [ -n "$root_password" ]; then (echo "$root_password"; sleep 1; echo "$root_password") | passwd > /dev/null fi # Configure LAN # More options: https://openwrt.org/docs/guide-user/base-system/basic-networking if [ -n "$lan_ip_address" ]; then uci set network.lan.ipaddr="$lan_ip_address" uci commit network fi # Configure WLAN # More options: https://openwrt.org/docs/guide-user/network/wifi/basic#wi-fi_interfaces if [ -n "$wlan_name" -a -n "$wlan_password" -a ${#wlan_password} -ge 8 ]; then uci set wireless.@wifi-device[0].disabled='0' uci set wireless.@wifi-iface[0].disabled='0' uci set wireless.@wifi-iface[0].encryption='psk2' uci set wireless.@wifi-iface[0].ssid="$wlan_name" uci set wireless.@wifi-iface[0].key="$wlan_password" uci commit wireless fi # Configure PPPoE # More options: https://openwrt.org/docs/guide-user/network/wan/wan_interface_protocols#protocol_pppoe_ppp_over_ethernet if [ -n "$pppoe_username" -a "$pppoe_password" ]; then uci set network.wan.proto=pppoe uci set network.wan.username="$pppoe_username" uci set network.wan.password="$pppoe_password" uci commit network fi echo "All done!" https://www.317520.xyz/post/23 https://www.xyba.cn/tvboxtool