summaryrefslogtreecommitdiffstats
path: root/src.etc/network/if-down.d/dhcpd
blob: b6ca719a097451371c64bf870cbb992b3326de19 (plain)
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