# The function is intended to create child ports and things
# like that.
function hook_hotplug() {
- exit ${EXIT_OK}
+ # If the hook does not handle the hotplug event, it
+ # must return EXIT_NOT_HANDLED.
+ exit ${EXIT_NOT_HANDLED}
}
# This function gets called when a device is plugged in