1 2 3 4 5 6 7 8 9 10
[Unit] Description=Check for DHCP address After=network.target [Service] Type=simple ExecStart=/bin/sh -c '/usr/bin/dhcp-check.sh' [Install] WantedBy=multi-user.target