set hostname to tici-<serial_number> (#89)

* set hostname to tici-<serial_number>

* runs as root
This commit is contained in:
Adeeb Shihadeh
2022-09-22 20:57:16 -07:00
committed by GitHub
parent 06db92b2fa
commit acedbed308
3 changed files with 17 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Sets the hostname to the device's serial number
[Service]
User=root
Type=oneshot
ExecStart=/usr/comma/set-hostname.sh
[Install]
WantedBy=multi-user.target