Compare commits
No commits in common. "9b66e45efa21537ab697aa517d46ef5c1c6a6395" and "8b33dd6459bbd31a6ea1e64e3bce2f4cb04246f1" have entirely different histories.
9b66e45efa
...
8b33dd6459
@ -2,20 +2,15 @@
|
|||||||
#
|
#
|
||||||
# GNU/Linux O.S. report generation tool
|
# GNU/Linux O.S. report generation tool
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008-2024 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (c) 2008-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
#
|
#
|
||||||
|
|
||||||
MAKEREPORT_VERSION=20240125
|
MAKEREPORT_VERSION=20220728
|
||||||
TEMPFILE=`mktemp`
|
TEMPFILE=`mktemp`
|
||||||
|
|
||||||
. ${ROOT}/etc/sysconfig/machine
|
. ${ROOT}/etc/sysconfig/machine
|
||||||
. ${ROOT}/etc/os-release
|
. ${ROOT}/etc/os-release
|
||||||
|
|
||||||
if [ "${SUDO_USER}" == "" ]; then
|
|
||||||
# mambareport uses pkexec instead of sudo
|
|
||||||
SUDO_USER="\#${PKEXEC_UID}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
[ ! "$SYSTEM_MANUFACTURER" -o "$SYSTEM_MANUFACTURER" = "System manufacturer" ] && {
|
[ ! "$SYSTEM_MANUFACTURER" -o "$SYSTEM_MANUFACTURER" = "System manufacturer" ] && {
|
||||||
SYSTEM_MANUFACTURER=unknown
|
SYSTEM_MANUFACTURER=unknown
|
||||||
}
|
}
|
||||||
@ -125,8 +120,7 @@ _EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "${NAME} report generation tool ${MAKEREPORT_VERSION}"
|
echo "${NAME} report generation tool ${MAKEREPORT_VERSION}"
|
||||||
echo "Copyright (c) 2008-2024 by Silvan Calarco <silvan@openmamba.org>"
|
echo "Copyright (c) 2008-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>"
|
||||||
echo "Released under the terms of the GNU GPL v3 license"
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
[ $UID = 0 ] || {
|
[ $UID = 0 ] || {
|
||||||
@ -216,9 +210,6 @@ catfile /var/log/Xorg.5.log "Xorg installation test log"
|
|||||||
# Other details
|
# Other details
|
||||||
catcommand "/usr/bin/lspci -vv" "PCI hardware information (verbose)"
|
catcommand "/usr/bin/lspci -vv" "PCI hardware information (verbose)"
|
||||||
|
|
||||||
# Systemd coredumps
|
|
||||||
catcommand "/usr/bin/coredumpctl info -q -r" "Systemd coredumps (more recent first)"
|
|
||||||
|
|
||||||
cp $TEMPFILE $REPORTNAME || exit 1
|
cp $TEMPFILE $REPORTNAME || exit 1
|
||||||
chmod +r $REPORTNAME
|
chmod +r $REPORTNAME
|
||||||
rm -f $TEMPFILE
|
rm -f $TEMPFILE
|
||||||
|
Loading…
Reference in New Issue
Block a user