1 2 3 4 5 6 7
#!/bin/sh set -eu if [ -f "/var/run/udhcpd.${IFACE}" ]; then kill "$(cat "/var/run/udhcpd.${IFACE}")" fi