Merge pull request #2 from K9T33NwthTookThis/K9T33NwthTookThis-patch-1

Update info-dumper.sh
This commit is contained in:
K9T33NwthTookThis 2025-06-27 21:51:22 +01:00 committed by GitHub
commit 7316d178dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@ if [[ $EUID -ne 0 ]]; then
fi fi
printf "version info:" > /tmp/rpc-dump.txt printf "version info:" > /tmp/rpc-dump.txt
# pi model/device
uname -a >> /tmp/rpc-dump.txt
cat /proc/version >> /tmp/rpc-dump.txt cat /proc/version >> /tmp/rpc-dump.txt
printf "\n journalctl:" >> /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 done
cat /tmp/rpc-dump.txt 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