Commit ef1283dd authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

printsys: add kernel info

parent 056c1923
......@@ -49,7 +49,10 @@ if [ $color = 0 ] ; then
NC=''
fi
dpkg -l | grep linux-image
uname -a
uptime
echo "------------------------------------------------------------------"
charge=$(cat /sys/class/power_supply/max170xx_battery/charge_now 2>/dev/null)
if [[ $charge -le 1000000 ]] ; then
charge="${RED}$charge${NC}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment