projects
/
openwrt
/
svn-archive
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tag rc6
[openwrt/svn-archive/openwrt.git]
/
package
/
psmisc
/
ipkg
/
psmisc.postrm
1
#!/bin/sh
2
3
BINS
=
"/sbin/fuser /usr/bin/killall /usr/bin/pstree /bin/pidof"
4
echo
"Recreating original BusyBox links: "
5
6
for
bin
in
$BINS
7
do
8
if
[
${IPKG_INSTROOT}
/
busybox
2
>&
1
|
grep
${bin##/*/}
>/
dev
/
null
]
9
then
10
echo
"
$bin
"
11
ln
-sf
${IPKG_INSTROOT}
/
bin
/
busybox
${IPKG_INSTROOT}
/
$bin
12
fi
13
done
14
15
exit
0