mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-09 16:52:05 +08:00
7 lines
181 B
Bash
Executable File
7 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
SERIAL="$(cat /proc/cmdline | sed -e 's/^.*androidboot.serialno=//' -e 's/ .*$//')"
|
|
echo "serial: '$SERIAL'"
|
|
hostnamectl set-hostname --transient "tici-$SERIAL"
|