summaryrefslogtreecommitdiffstats
path: root/intercept/depmod
blob: 7dc442d72742080b5f11abbcffb417ae6d4c2460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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 $*