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-upgrade9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/busybox/busybox.post-upgrade b/main/busybox/busybox.post-upgrade
index 46ce3bd0ae..8ed47aa574 100644
--- a/main/busybox/busybox.post-upgrade
+++ b/main/busybox/busybox.post-upgrade
@@ -12,5 +12,14 @@ for link in /bin/ping /bin/ping6; do
fi
done
+# remove links of programs moved to busybox-extras
+for link in /usr/bin/telnet /usr/sbin/httpd /usr/bin/ftpget /usr/bin/ftpput \
+ /usr/sbin/ftpd /usr/bin/tftp; do
+ if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/busybox" ]; then
+ rm "$link"
+ echo "NOTE: $link has been moved to the package 'busybox-extras'"
+ fi
+done
+
# We need the symlinks early
exec /bin/busybox --install -s