diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-11-30 16:27:54 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-11-30 16:27:54 +0100 |
commit | fcdc20ad1db345a156f57d826639460e36cc1948 (patch) | |
tree | 285a6a8442a7612268828e06381e68ae343a014f /widgets/system_information/system_information.ubuntu | |
parent | 5b022d56aafbb0baa4e2f2a58db554b224fbf137 (diff) | |
download | skin-flatplus-fcdc20ad1db345a156f57d826639460e36cc1948.tar.gz skin-flatplus-fcdc20ad1db345a156f57d826639460e36cc1948.tar.bz2 |
add feature dimm on pause
Diffstat (limited to 'widgets/system_information/system_information.ubuntu')
-rwxr-xr-x | widgets/system_information/system_information.ubuntu | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/widgets/system_information/system_information.ubuntu b/widgets/system_information/system_information.ubuntu index 36c82896..269b0be9 100755 --- a/widgets/system_information/system_information.ubuntu +++ b/widgets/system_information/system_information.ubuntu @@ -22,8 +22,8 @@ SHOW_VIDEO_USAGE=1 SHOW_VDR_CPU_USAGE=1 SHOW_VDR_MEM_USAGE=1 -SHOW_TEMPERATURES=1 -SHOW_SYSUPDATES=1 +SHOW_TEMPERATURES=0 +SHOW_SYSUPDATES=0 # Position of items # sys_version & kernel_version are drawn in one line @@ -59,6 +59,10 @@ VIDEO_MOUNT="/media/video" # force english output for filters LANG=en_EN +# Get own Path +SELF="$(readlink -m /proc/$$/fd/255)" # $0 +MY_DIR="$(dirname $SELF)" # Path + # delete all files rm -f ${OUTPUTFLDR}/[0-99]* @@ -145,7 +149,8 @@ if [ $SHOW_VDR_MEM_USAGE = 1 ]; then fi if [ $SHOW_TEMPERATURES = 1 ]; then - ./../temperatures/temperatures + TEMPERATURES_DIR="$(readlink -m $MY_DIR/../temperatures)" + bash $TEMPERATURES_DIR/temperatures if [ -f ${OUTPUTFLDRTEMP}/cpu ]; then cp ${OUTPUTFLDRTEMP}/cpu ${OUTPUTFLDR}/${TEMP_CPU_POS}_cpu fi |