depmod 309 B

123456789101112
  1. #!/bin/sh
  2. if [ "x$1" = "x-a" ] || [ "x$1" = "x-A" ]; then
  3. echo "depmod $@" >> $OPKG_INTERCEPT_DIR/depmod
  4. sort -u $OPKG_INTERCEPT_DIR/depmod > $OPKG_INTERCEPT_DIR/depmod.tmp
  5. mv $OPKG_INTERCEPT_DIR/depmod.tmp $OPKG_INTERCEPT_DIR/depmod
  6. chmod +x $OPKG_INTERCEPT_DIR/depmod
  7. exit 0
  8. fi
  9. /sbin/depmod $*