aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox/busybox.post-upgrade')
-rw-r--r--main/busybox/busybox.post-upgrade5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/busybox/busybox.post-upgrade b/main/busybox/busybox.post-upgrade
index 268f22d408..46ce3bd0ae 100644
--- a/main/busybox/busybox.post-upgrade
+++ b/main/busybox/busybox.post-upgrade
@@ -6,6 +6,11 @@ for link in /bin/install /bin/ip /bin/vi /usr/bin/lspci; do
rm "$link"
fi
done
+for link in /bin/ping /bin/ping6; do
+ if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/bbsuid" ]; then
+ rm "$link"
+ fi
+done
# We need the symlinks early
exec /bin/busybox --install -s