OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd475d7
)
init.sh: set ro.serialno from the DMI table
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 8 Jul 2021 14:01:13 +0000
(22:01 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 8 Jul 2021 14:01:13 +0000
(22:01 +0800)
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
8eb4988
..
2bd8163
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-27,6
+27,7
@@
function init_misc()
# device information
setprop ro.product.manufacturer "$(cat $DMIPATH/sys_vendor)"
setprop ro.product.model "$PRODUCT"
+ setprop ro.serialno "$(cat $DMIPATH/product_serial)"
# a hack for USB modem
lsusb | grep 1a8d:1000 && eject