#!/bin/sh

if [ "x$1" = "x-a" ] || [ "x$1" = "x-A" ]; then
  if [ ! -f $IPKG_INTERCEPT_DIR/depmod ]; then
    echo "depmod -A" > $IPKG_INTERCEPT_DIR/depmod
    chmod +x $IPKG_INTERCEPT_DIR/depmod
  fi
  exit 0
fi

/sbin/depmod $*

