Skip to content

Commit

Permalink
Taking kernel parameters from dev-node
Browse files Browse the repository at this point in the history
Insted of taking kernel parameters from
commandline taking those parameters
from dev node

Change-Id: I3063e26f6f28cc6436fbd7eef559126bda40387b
  • Loading branch information
vishwasudupa committed Nov 17, 2023
1 parent 41e37ca commit 976dca8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
manufacturer=Qualcomm
model=`hostname`
androidserial="$(sed -n -e '/androidboot.serialno/ s/.*androidboot.serialno=\([^ ]*\).*/\1/gp ' /proc/cmdline)"
androidserial="$(printf "%x" "$(cat /sys/devices/soc0/serial_number)")"
[ -n "$androidserial" ] && serial="$androidserial"

0 comments on commit 976dca8

Please sign in to comment.