init.d: busybox check remove debug print

This commit is contained in:
bol-van 2021-10-30 13:25:39 +03:00
parent c13a7e39a2
commit 077849094e

View File

@ -409,7 +409,6 @@ is_linked_to_busybox()
IFS=: IFS=:
for path in $PATH; do for path in $PATH; do
F=$path/$1 F=$path/$1
echo F=$F
P="$(readlink $F)" P="$(readlink $F)"
if [ -z "$P" ] && [ -x $F ] && [ ! -L $F ]; then return 1; fi if [ -z "$P" ] && [ -x $F ] && [ ! -L $F ]; then return 1; fi
[ "${P%busybox*}" != "$P" ] && return [ "${P%busybox*}" != "$P" ] && return