#!/bin/bash
# $Id: hotplug-stopped,v 1.2 2004/03/31 06:29:15 zoz Exp $
#
# This script is called instead of /sbin/hotplug if we want to disable hotplug
# for any reason. It still logs events if there is '/events'.

export LOGPID=0

# The event recorder comes with package udev. If you like all events recorded
# then create a directory /events
if [ -x /sbin/hotplugeventrecorder ] ; then
    /sbin/hotplugeventrecorder $1 2>/dev/null
fi

cd /etc/hotplug
. hotplug.functions

# debug_mesg $ACTION $*
# if [ -x /usr/bin/env ] ; then
# 	debug_mesg `/usr/bin/env`
# fi

mesg hotplugging not enabled. Run rchotplug start

exit 1
