From 8bf49d16a637cca0cd116450dfcabc4c941baf6c Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:10:56 -0500 Subject: * Add ipkg for future development git-svn-id: http://opkg.googlecode.com/svn/trunk@3 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'intercept') 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 + -- cgit v0.9.1