projects
/
oweals
/
opkg-lede.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Running a script does not change the state, modifying the state flags does.
[oweals/opkg-lede.git]
/
intercept
/
depmod
1
#!/bin/sh
2
3
if [ "x$1" = "x-a" ] || [ "x$1" = "x-A" ]; then
4
if [ ! -f $OPKG_INTERCEPT_DIR/depmod ]; then
5
echo "depmod -A" > $OPKG_INTERCEPT_DIR/depmod
6
chmod +x $OPKG_INTERCEPT_DIR/depmod
7
fi
8
exit 0
9
fi
10
11
/sbin/depmod $*
12