1 2 3 4 5
#!/bin/bash DHCP_PRE_HOOKS="/config/scripts/dhcp-client/pre-hooks.d/" if [ -d "${DHCP_PRE_HOOKS}" ] ; then run_hookdir "${DHCP_PRE_HOOKS}" fi