diff --git a/package/base-files/files/bin/inform b/package/base-files/files/bin/inform deleted file mode 100644 index bca4fac45f..0000000000 --- a/package/base-files/files/bin/inform +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -dmesg >/tmp/log/mesg && rm /tmp/log/inform - -a1=`cat /proc/cpuinfo|grep -i -E 'cpu.*clock'|awk -F: '{print $2/1}'` -a2=`grep Clock /tmp/log/mesg|sed 's/^.*CPU//g'|sed 's/DDR.*//g'|awk -F'[:M]' '{print $2/1}'` - -if [ ! $a1 > '0' ]; then - if [ ! $a2 > '0' ]; then - echo unknown >> /tmp/log/inform - else - echo $a2 >> /tmp/log/inform - fi -else - echo $a1 >> /tmp/log/inform -fi - - -b1=`grep 'DDR:' /tmp/log/mesg|sed 's/^.*DDR//g'|sed 's/AHB.*//g'|awk -F '[:.]' '{print $2/1}'` -b2=`grep memory.*@ /tmp/log/mesg|awk -F '[:@]' '{print $2/10000}'` - -if [ ! $b1 > '0' ]; then - if [ ! $b2 > '0' ]; then - echo unknown >> /tmp/log/inform - else - echo $b2 >> /tmp/log/inform - fi -else - echo $b1 >> /tmp/log/inform -fi - - -c1=`cat /proc/cpuinfo |grep -i Flash /proc/cpuinfo | awk '{print $3/1}'` -c2=`grep -i Kbyte /tmp/log/mesg|cut -d '(' -f2|awk '{print $1/1024}'` - -if [ ! $c1 > '0' ]; then - if [ ! $c2 > '0' ]; then - echo unknown >> /tmp/log/inform - else - echo $c2 >> /tmp/log/inform - fi -else - echo $c1 >> /tmp/log/inform -fi - -rm /tmp/log/mesg && cat /tmp/log/inform - diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index d69fbc163f..31f245ffc7 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -45,8 +45,7 @@ boot() { /bin/config_generate uci_apply_defaults - /bin/inform - + # temporary hack until configd exists /sbin/reload_config } diff --git a/package/lean/default-settings/i18n/default.zh-cn.po b/package/lean/default-settings/i18n/default.zh-cn.po index d8e897e024..e12688fca8 100644 --- a/package/lean/default-settings/i18n/default.zh-cn.po +++ b/package/lean/default-settings/i18n/default.zh-cn.po @@ -7,6 +7,9 @@ msgstr "架构" msgid "CPU Temperature" msgstr "CPU温度" +msgid "CPU Model" +msgstr "处理器型号" + msgid "CPU Info" msgstr "CPU信息" @@ -22,8 +25,11 @@ msgstr "闪存" msgid "Free Memory" msgstr "释放内存" +msgid "ShadowsocksR Pro" +msgstr "虾都缩壳" + msgid "Core" msgstr "核心数" msgid "Thread" -msgstr "线程数" \ No newline at end of file +msgstr "线程数"