inital commit

This commit is contained in:
2021-03-24 11:59:48 +01:00
commit fedd944836
8 changed files with 333 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description = Routing to locally connected hardware
After = network.target
[Service]
ExecStart = /usr/bin/python3 /root/aputools/router.py
[Install]
WantedBy = multi-user.target

View File

@ -0,0 +1,12 @@
[Unit]
Description = Create host name from ethernet address
Wants=network-pre.target
Before=network.pre-target
[Service]
Type=oneshot
ExecStart = /usr/bin/bash /root/aputools/sethostname.sh
RemainAfterExit=yes
[Install]
WantedBy = network.target