path: netcfg_1.202/kill-all-dhcp for client in dhclient udhcpc pump dhcp6c; do pid=$(pidof $client) || true [ "$pid" ] || continue path: netcfg_1.202/finish-install.d/97release-dhcp-lease [ -n "$pid" ] && kill -USR2 $pid if [ "$(pidof dhclient || true)" ]; then dhclient -r || true dhclient -6 -r || true path: netcfg_1.202/finish-install.d/97release-dhcp-lease set -e pid=$(pidof udhcpc) || true [ -n "$pid" ] && kill -USR2 $pid