build: fix firmware version output for r1s
This commit is contained in:
@@ -66,6 +66,8 @@ if [ $DEVICE != 'r1s' ]; then
|
|||||||
sed -i '/arm\/cpuinfo/a\\t$(INSTALL_DIR) $(1)/www/luci-static/resources/view/status/include' $mf_autcore
|
sed -i '/arm\/cpuinfo/a\\t$(INSTALL_DIR) $(1)/www/luci-static/resources/view/status/include' $mf_autcore
|
||||||
sed -i '/arm\/cpuinfo/a\\t$(INSTALL_BIN) ./files/x86/ethinfo $(1)/sbin/ethinfo' $mf_autcore
|
sed -i '/arm\/cpuinfo/a\\t$(INSTALL_BIN) ./files/x86/ethinfo $(1)/sbin/ethinfo' $mf_autcore
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# inject the firmware version
|
# inject the firmware version
|
||||||
strDate=`TZ=UTC-8 date +%Y-%m-%d`
|
strDate=`TZ=UTC-8 date +%Y-%m-%d`
|
||||||
status_pages=`find package/ -follow -type f \( -path '*/autocore/files/arm/index.htm' -o -path '*/autocore/files/x86/index.htm' -o -path '*/autocore/files/arm/rpcd_10_system.js' -o -path '*/autocore/files/x86/rpcd_10_system.js' \)`
|
status_pages=`find package/ -follow -type f \( -path '*/autocore/files/arm/index.htm' -o -path '*/autocore/files/x86/index.htm' -o -path '*/autocore/files/arm/rpcd_10_system.js' -o -path '*/autocore/files/x86/rpcd_10_system.js' \)`
|
||||||
@@ -86,8 +88,6 @@ if [ $DEVICE != 'r1s' ]; then
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
# little optimization argon css
|
# little optimization argon css
|
||||||
css_file=`find package/ -follow -type f -path '*/argon/css/cascade.css'`
|
css_file=`find package/ -follow -type f -path '*/argon/css/cascade.css'`
|
||||||
line_number_h6=`grep -m1 -n 'h6 {' $css_file | cut -d: -f1`
|
line_number_h6=`grep -m1 -n 'h6 {' $css_file | cut -d: -f1`
|
||||||
|
|||||||
Reference in New Issue
Block a user