11
0

Move to Drone
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2022-06-28 18:31:12 +03:00
parent 1261a0ae05
commit ab5ad51ef9
8 changed files with 123 additions and 141 deletions

View File

@@ -0,0 +1,3 @@
HOSTNAME=cam-$(cat /sys/class/net/eth0/address | cut -d : -f 4- | sed -e 's/://g')
uci set system.@system[0].hostname=$HOSTNAME
uci set network.lan.hostname=$HOSTNAME