id linux distro to log

identification of linux distribution to aptlog
This commit is contained in:
peterpt 2020-02-10 11:05:48 -05:00 committed by GitHub
parent e1ecea693c
commit 543e3477c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1076,6 +1076,11 @@ cat "/etc/apt/sources.list" >> "$aptlog"
else
echo "sources.list file was not found in user OS" >> "$aptlog"
fi
echo "-----------------------------------" >> "$aptlog"
echo "User Linux Distribution"
echo "-----------------------------------" >> "$aptlog"
uname -a >> "$aptlog"
echo "-----------------------------------" >> "$aptlog"
echo "Done"
echo ""
echo -e "$yellow""A report was created in :"