default-settings 329 B

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