mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 11:13:12 +02:00
add board & ram info
This commit is contained in:
@@ -58,12 +58,17 @@ source ${configFile} 2>/dev/null
|
|||||||
# get first basic network info
|
# get first basic network info
|
||||||
source <(/home/admin/config.scripts/internet.sh status)
|
source <(/home/admin/config.scripts/internet.sh status)
|
||||||
|
|
||||||
|
# get basic hardware info
|
||||||
|
source <(/home/admin/config.scripts/internet.sh status)
|
||||||
|
|
||||||
# resetting info file
|
# resetting info file
|
||||||
echo "Resetting the InfoFile: ${infoFile}"
|
echo "Resetting the InfoFile: ${infoFile}"
|
||||||
echo "state=starting" > $infoFile
|
echo "state=starting" > $infoFile
|
||||||
echo "message=" >> $infoFile
|
echo "message=" >> $infoFile
|
||||||
echo "baseimage=${baseimage}" >> $infoFile
|
echo "baseimage=${baseimage}" >> $infoFile
|
||||||
echo "cpu=${cpu}" >> $infoFile
|
echo "cpu=${cpu}" >> $infoFile
|
||||||
|
echo "board=${board}" >> $infoFile
|
||||||
|
echo "ramMB=${ramMB}" >> $infoFile
|
||||||
echo "network=${network}" >> $infoFile
|
echo "network=${network}" >> $infoFile
|
||||||
echo "chain=${chain}" >> $infoFile
|
echo "chain=${chain}" >> $infoFile
|
||||||
echo "localip='${localip}'" >> $infoFile
|
echo "localip='${localip}'" >> $infoFile
|
||||||
|
Reference in New Issue
Block a user