summaryrefslogtreecommitdiffstats
path: root/intercept/depmod
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:10:56 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:10:56 (EST)
commit8bf49d16a637cca0cd116450dfcabc4c941baf6c (patch)
treebea96583e7a63f1b87ad4ef07b191f121348fe78 /intercept/depmod
parent4074befd4db12e78af74f7e1438459125b0b3016 (diff)
* Add ipkg for future development
git-svn-id: http://opkg.googlecode.com/svn/trunk@3 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'intercept/depmod')
-rw-r--r--intercept/depmod12
1 files changed, 12 insertions, 0 deletions
diff --git a/intercept/depmod b/intercept/depmod
new file mode 100644
index 0000000..7dc442d
--- /dev/null
+++ b/intercept/depmod
@@ -0,0 +1,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 $*
+