summaryrefslogtreecommitdiffstats
path: root/intercept/depmod
blob: a60768f4d9a6a415800c08a9ba1121f2086a38e8 (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 $OPKG_INTERCEPT_DIR/depmod ]; then
    echo "depmod -A" > $OPKG_INTERCEPT_DIR/depmod
    chmod +x $OPKG_INTERCEPT_DIR/depmod
  fi
  exit 0
fi

/sbin/depmod $*