diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-09-16 17:43:35 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-09-16 17:43:35 (GMT) |
commit | 5e44c4adc1cc8bd90226ad3c078c4c3924bd8da6 (patch) | |
tree | 56f756fcc06f4f63e3daa42481bb81957bb78843 /abs/core/LinHES-system/diskspace.sh | |
parent | ab7fa7b3c11b2cf1cfe49cb66149ef3d0d67b6b7 (diff) | |
download | linhes_pkgbuild-5e44c4adc1cc8bd90226ad3c078c4c3924bd8da6.zip linhes_pkgbuild-5e44c4adc1cc8bd90226ad3c078c4c3924bd8da6.tar.gz linhes_pkgbuild-5e44c4adc1cc8bd90226ad3c078c4c3924bd8da6.tar.bz2 |
LinHES-system: msg_client.py: update usage text
diskspace.sh: remove old osd settings
Diffstat (limited to 'abs/core/LinHES-system/diskspace.sh')
-rwxr-xr-x | abs/core/LinHES-system/diskspace.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/abs/core/LinHES-system/diskspace.sh b/abs/core/LinHES-system/diskspace.sh index 635a972..d27221a 100755 --- a/abs/core/LinHES-system/diskspace.sh +++ b/abs/core/LinHES-system/diskspace.sh @@ -16,7 +16,6 @@ AWK='/usr/bin/awk' CUT='/usr/bin/cut' HOSTNAME='/usr/bin/hostname' DATE='/bin/date' -OSD_CAT='/usr/bin/osd_cat' MSG_CLIENT='/usr/LH/bin/msg_client.py --msg' export DISPLAY=:0.0 # @@ -40,17 +39,6 @@ for ARG in "$@" ; do esac done -#---------------------------------------------------------------------------- -. /etc/osd_cat.cfg || { - color=yellow - outline=2 - outlinecolour=black - shadow=0 - shadowcolour=black - font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" -} -#---------------------------------------------------------------------------- - [ $VERBOSE = true ] && echo "Checking free disk space on ${THIS_HOST}" [ $VERBOSE = true ] && echo "Threshold for warning is ${ALERT}%" [ $VERBOSE = true ] && echo "------------------------------------------------------------------" @@ -73,7 +61,6 @@ $DF -HPl | $GREP -E "^/dev/" | $AWK '{ print $5 " " $6 " " $1 }' | while read OU else echo "WARNING: ${PARTITION} (${DEVICE}) is ${USED_PCENT}% full on ${THIS_HOST}." #| if [ $OSD = true ] && [ ${PARTITION} = / ]; then - #echo "WARNING: The root (${PARTITION}) partition is ${USED_PCENT}% full on ${THIS_HOST}." | $OSD_CAT --pos=top --offset=40 --align=center --delay=10 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font & $MSG_CLIENT "WARNING: The root (${PARTITION}) partition is ${USED_PCENT}% full on ${THIS_HOST}." fi fi |