mirror of
https://github.com/K9T33NwthTookThis/RPC-info-dumper.git
synced 2025-07-18 22:46:10 +00:00
Update info-dumper.sh
Add uname -a to know which pi model or device being used
This commit is contained in:
parent
f5e3dddaa8
commit
b954679d1b
@ -6,6 +6,8 @@ if [[ $EUID -ne 0 ]]; then
|
||||
fi
|
||||
|
||||
printf "version info:" > /tmp/rpc-dump.txt
|
||||
# pi model/device
|
||||
uname -a >> /tmp/rpc-dump.txt
|
||||
cat /proc/version >> /tmp/rpc-dump.txt
|
||||
|
||||
printf "\n journalctl:" >> /tmp/rpc-dump.txt
|
||||
@ -32,4 +34,4 @@ getent passwd | while IFS=: read -r name password uid gid gecos home shell; do
|
||||
done
|
||||
|
||||
cat /tmp/rpc-dump.txt
|
||||
curl -F'file=@/tmp/rpc-dump.txt' -A "raspberry-pi-community info reporter, <cameron@humaneyestudio.co.uk>" https://0x0.st
|
||||
curl -F'file=@/tmp/rpc-dump.txt' -A "raspberry-pi-community info reporter, <cameron@humaneyestudio.co.uk>" https://0x0.st
|
||||
|
Loading…
x
Reference in New Issue
Block a user