mirror of https://github.com/OpenIPC/firmware.git
Create sysinfo
parent
f470c3c6fa
commit
6093070817
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# OpenIPC | version 2025.02.09
|
||||||
|
#
|
||||||
|
# Simple script for quick information gathering and troubleshooting
|
||||||
|
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Firmware:"
|
||||||
|
echo -e " $(grep -e OPENIPC_VERSION /etc/os-release)\n"
|
||||||
|
echo "Majestic:"
|
||||||
|
echo -e " internal - $(/rom/usr/bin/majestic -v)"
|
||||||
|
echo -e " external - $(/usr/bin/majestic -v)\n"
|
||||||
|
echo "USB devices:"
|
||||||
|
echo -e " $(lsusb | awk '{print $6}' | tr '\n' ' ')\n"
|
||||||
|
echo "Memory:"
|
||||||
|
echo -e " totalmem - $(fw_printenv -n totalmem)\n"
|
||||||
|
echo "Processor:"
|
||||||
|
echo -e " detected - $(ipcinfo -ci | tr '\n' '\t')"
|
||||||
|
echo -e " recorded - $(fw_printenv -n soc)\n"
|
||||||
|
echo "Sensor:"
|
||||||
|
echo -e " detected - $(ipcinfo -s)"
|
||||||
|
echo -e " recorded - $(fw_printenv -n sensor)\n"
|
Loading…
Reference in New Issue