kopia lustrzana https://github.com/km4ack/pi-build
add uname -r only
rodzic
35362de20a
commit
071cc59387
|
@ -210,8 +210,11 @@ CHECK
|
||||||
|
|
||||||
#get system info
|
#get system info
|
||||||
WHO=$(whoami)
|
WHO=$(whoami)
|
||||||
|
KERNAL=$(uname -r)
|
||||||
echo "User Name is $WHO" > $DIR/systeminfo.txt
|
echo "User Name is $WHO" > $DIR/systeminfo.txt
|
||||||
echo "" >> $DIR/systeminfo.txt
|
echo "" >> $DIR/systeminfo.txt
|
||||||
|
echo "Kernal version is $KERNAL" >> $DIR/systeminfo.txt
|
||||||
|
echo "" >> $DIR/systeminfo.txt
|
||||||
cat /etc/os-release >> $DIR/systeminfo.txt
|
cat /etc/os-release >> $DIR/systeminfo.txt
|
||||||
echo;echo;echo "#####uname######" >> $DIR/systeminfo.txt
|
echo;echo;echo "#####uname######" >> $DIR/systeminfo.txt
|
||||||
uname -a >> $DIR/systeminfo.txt
|
uname -a >> $DIR/systeminfo.txt
|
||||||
|
|
Ładowanie…
Reference in New Issue