#!/bin/sh
#
# kea_run6
#
# part of pfSense (https://www.pfsense.org)
# Copyright (c) 2024-2026 Rubicon Communications, LLC (Netgate)
# All rights reserved.
#
SCRIPT_BASES="/conf/kea6_scripts.d /cf/conf/kea6_scripts.d"

for _base in ${SCRIPT_BASES}; do
	if [ -d "${_base}" ]; then
		for _script in ${_base}/*; do
			if [ -f "${_script}" -a -x "${_script}" ]; then
				/bin/sh ${_script} $@
			fi
		done
		break # first base match wins
	fi
done
