aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox.post-upgrade
diff options
context:
space:
mode:
authorOliver Smith <ollieparanoid@bitmessage.ch>2017-06-07 19:45:39 +0200
committerOliver Smith <ollieparanoid@bitmessage.ch>2017-06-07 19:45:39 +0200
commit23f4c6bd6c0c8c8f616facad94865e7961cdfb2d (patch)
tree936889a3d8e1e8e2f25ceba11d814bdeed04b50d /main/busybox/busybox.post-upgrade
parent4fe0d91c731fa63f14312e4253ad5b2331bd3311 (diff)
downloadaports-23f4c6bd6c0c8c8f616facad94865e7961cdfb2d.tar.bz2
aports-23f4c6bd6c0c8c8f616facad94865e7961cdfb2d.tar.xz
main/busybox: add subpackage busybox-extras
The following programs have been moved from busybox to -extras: ftpget, ftpput, telnet, tftp, ftpd, httpd New programs in -extras: telnetd, tftpd
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