list=`busybox | busybox tr -d ','`
list=${list#*"functions:"}
path_list=`echo $PATH | busybox tr ':' ' '`
cmd_find=0
for it in $list
do
cmd_find=0
for path_it in $path_list
do
if [ -f /$path_it/${it} ]
then
cmd_find=1
break
else
:
fi
done
if [ $cmd_find -eq 0 ]
then
echo ${it}
ln -s /bin/busybox /bin/${it}
fi
done
点gist
链接busybox的未链接的命令到/bin/路径
最新推荐文章于 2022-04-22 21:05:21 发布