Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit 0345e08

Browse files
committed
[nemo-system-settings] Fix tablet serial number. Fixes JB#43303
1 parent eaffeda commit 0345e08

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/aboutsettings.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,13 @@ QString AboutSettings::serial() const
169169
QStringList serialFiles;
170170

171171
serialFiles
172-
// This file is specific to the Jolla Tablet;
172+
// Old location for serial number that was used by e.g.
173+
// Jolla Tablet, that should not be used anymore.
173174
<< "/config/serial/serial.txt"
175+
// Location for serialnumber file that should be preferred if no /sys
176+
// node or something for it. The means how the serialnumber ends to
177+
// this file are device specific.
178+
<< "/run/config/serial"
174179
// Some devices have serialno in this path.
175180
<< "/sys/firmware/devicetree/base/firmware/android/serialno";
176181

0 commit comments

Comments
 (0)