Merging upstream version 1.14.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
868b5312e8
commit
d6fd2fdea9
305 changed files with 20664 additions and 6099 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
LC_ALL=C
|
||||
|
||||
UUID=$(dmidecode -s system-uuid | tr -d '[:space:]')
|
||||
if [ -e "/proc/device-tree/ibm,partition-uuid" ] ; then
|
||||
UUID=$(tr -d '\0' < /proc/device-tree/ibm,partition-uuid)
|
||||
else
|
||||
UUID=$(dmidecode -s system-uuid | tr -d '[:space:]')
|
||||
fi
|
||||
|
||||
if [ -z "$UUID" ] ; then
|
||||
>&2 echo "No UUID found, can't determine hostnqn."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue