#!/bin/sh for f in /etc/dhcp/dhclient.d/en*; do [ -x "$f" ] || continue # Don't run *.rpm* and *~ scripts [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue . "$f" done