- test $version -lt 2 && {
- uci set system.@system[0].zram_size_mb='28'
- uci set system.@system[0].zram_comp_algo='lz4'
- uci commit system
- version=2
- }
- uci set base_config.@status[0].version=$version
- uci commit base_config
- sed -i '1i src/gz openwrt_custom https://op.supes.top/packages/mipsel' /etc/opkg/distfeeds.conf
- exit 0
|