diff options
| author | cassio <cassiopc@gmail.com> | 2018-08-27 15:38:48 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2018-08-27 15:38:48 +0000 |
| commit | e4bc052cecd49e4b2b2cd71c025d92a8e398f57c (patch) | |
| tree | 4c60b6a1903beeb75ea92dc5c1262792f32081ad /tools | |
| parent | d5ec21b42d969d5a5201e07641b850db040afa0a (diff) | |
| download | boca-e4bc052cecd49e4b2b2cd71c025d92a8e398f57c.tar.gz boca-e4bc052cecd49e4b2b2cd71c025d92a8e398f57c.zip | |
check if anything happened in the kern.log
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/boca-submit-log | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/boca-submit-log b/tools/boca-submit-log index 9140e3b..36767b3 100644 --- a/tools/boca-submit-log +++ b/tools/boca-submit-log @@ -29,7 +29,7 @@ for zcount in 1 2 3 4 5 6 7 8 9 10 11 12; do grep -i mount /var/log/kern.log | grep -i -e "filesystem" -e "file system" | tail -n 100 > /root/.logkfs.tmp [ -f /root/.logkfs ] || touch /root/.logkfs diff /root/.logkfs /root/.logkfs.tmp > /root/.logkfs.diff 2>/dev/null - resfs=$? + reskfs=$? if [ "$zcount" == "1" ]; then tail -n 1000 /var/log/logkeys.log > /root/.logkeys.tmp @@ -41,7 +41,7 @@ for zcount in 1 2 3 4 5 6 7 8 9 10 11 12; do reskeys=0 fi - if [ "$res" != "0" -o "$resfs" != "0" -o "$reskey" != "0" ]; then + if [ "$res" != "0" -o "$resfs" != "0" -o "$reskfs" != "0" -o "$reskey" != "0" ]; then for i in uuencode wget tr perl sha256sum cut; do p=`which $i` if [ -x "$p" ]; then |