mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-10 01:02:08 +08:00
bc20686ddf
* hostname with serial number * add systemd.hostname kernel param * /etc/hostname is now a symlink * probably shouldn't have moved that * fix path * force symlink * update kernel load script to support passing in device name * remove kernel param * change hostname from tici to comma * bump kernel
13 lines
217 B
Desktop File
13 lines
217 B
Desktop File
[Unit]
|
|
Description=Sets the hostname to the device's serial number
|
|
After=basic.target
|
|
Before=network.target
|
|
|
|
[Service]
|
|
User=root
|
|
Type=oneshot
|
|
ExecStart=/usr/comma/set-hostname.sh
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|