hotplug: call handle_device.d/ actions for remove
[dahdi/tools.git] / hotplug / handle_device.d / 10-span-types
index d840c3d..6b78021 100755 (executable)
@@ -1,5 +1,12 @@
 #! /bin/sh
 
+case "$ACTION" in
+add)
+       ;;
+*)
+       exit 0
+esac
+
 if [ -r "$DAHDICONFDIR/span-types.conf" ]; then
        dahdi_span_types set "/sys$DEVPATH"
 fi