John Tetreault
Occasional Visitor
Is this just a case of least commong denominator, or is there a bug in the entware_setup.mod script?
I see the setup script has this section:
But even with uname -r giving a result of 4.1.52 it still install the k2.6 version instead of the k3.2 version on my RT-AX58U running 3004.388.6
It almost looks as if v_c is supposed to be a function thats supposed to parse the version number, but there is no v_c function elsewhere in the code, so it just fails to the else statement.... or am I not understanding this correctly?
I see the setup script has this section:
Bash:
armv7l) PART_TYPES='ext2|ext3|ext4'
if [ "$(v_c $(uname -r))" -ge "$(v_c 3.2)" ]; then
INST_URL='armv7sf-k3.2/installer/generic.sh'
entVer="Entware (armv7sf-k3.2)"
availEntVer=armv7
else
INST_URL='armv7sf-k2.6/installer/generic.sh'
entVer="Entware (armv7sf-k2.6)"
availEntVer=armv7
fi
But even with uname -r giving a result of 4.1.52 it still install the k2.6 version instead of the k3.2 version on my RT-AX58U running 3004.388.6
It almost looks as if v_c is supposed to be a function thats supposed to parse the version number, but there is no v_c function elsewhere in the code, so it just fails to the else statement.... or am I not understanding this correctly?