summaryrefslogtreecommitdiffstats
path: root/intercept
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
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')
-rw-r--r--intercept/depmod12
-rw-r--r--intercept/ldconfig7
-rw-r--r--intercept/update-modules7
3 files changed, 26 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 $*
+
diff --git a/intercept/ldconfig b/intercept/ldconfig
new file mode 100644
index 0000000..2be99b4
--- /dev/null
+++ b/intercept/ldconfig
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ ! -f $IPKG_INTERCEPT_DIR/ldconfig ]; then
+ echo "ldconfig" > $IPKG_INTERCEPT_DIR/ldconfig
+ chmod +x $IPKG_INTERCEPT_DIR/ldconfig
+fi
+
diff --git a/intercept/update-modules b/intercept/update-modules
new file mode 100644
index 0000000..431bfcd
--- /dev/null
+++ b/intercept/update-modules
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ ! -f $IPKG_INTERCEPT_DIR/update-modules ]; then
+ echo "update-modules" > $IPKG_INTERCEPT_DIR/update-modules
+ chmod +x $IPKG_INTERCEPT_DIR/update-modules
+fi
+