Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#!/bin/sh
#
# $NetBSD: devpubd-run-hooks.in,v 1.4 2021/08/05 12:45:33 kre Exp $
#
# devpubd run hooks

devpubd_event=$1
shift

devpubd_hooks_base=@HOOKSDIR@

case $devpubd_event in
device-attach|device-detach)
	for hook in ${devpubd_hooks_base}/*; do
		if [ -x "${hook}" ]; then
			"${hook}" ${devpubd_event} "$@"
		fi
	done
	;;
*)
	;;
esac

exit 0