mirror of
https://github.com/MeexReay/pmos-xiaomi-angelican.git
synced 2025-06-24 18:42:58 +03:00
catch_kernel_trouble - fix paths for full log and add LESS
This commit is contained in:
parent
3a3393d784
commit
226f1fc307
@ -18,15 +18,9 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tail -n $NUM_LINES /tmp/full-kernel-trouble > kernel-trouble.txt
|
tail -n $NUM_LINES /tmp/full-kernel-trouble.txt > kernel-trouble.txt
|
||||||
|
|
||||||
echo
|
less +G /tmp/full-kernel-trouble.txt
|
||||||
echo "Last $NUM_LINES log lines"
|
|
||||||
echo
|
|
||||||
|
|
||||||
cat kernel-trouble.txt
|
echo "Saved last $NUM_LINES to \"$PWD/kernel-trouble.txt\""
|
||||||
|
|
||||||
echo
|
|
||||||
echo "Saved to \"$PWD/kernel-trouble.txt\""
|
|
||||||
echo "Full log was saved to \"/tmp/full-kernel-trouble.txt\""
|
echo "Full log was saved to \"/tmp/full-kernel-trouble.txt\""
|
||||||
echo
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user