1c0ff6aa23
Later, the aports folder will probably get split up in its own repository. But right now this is simply convenient.
20 lines
401 B
Bash
20 lines
401 B
Bash
#!/bin/sh
|
|
|
|
# Remove links from busybox-extras (see also: busybox.post-upgrade)
|
|
for link in \
|
|
/usr/bin/ftpget \
|
|
/usr/bin/ftpput \
|
|
/usr/bin/telnet \
|
|
/usr/bin/tftp \
|
|
/usr/sbin/ftpd \
|
|
/usr/sbin/httpd \
|
|
/usr/sbin/telnetd \
|
|
/usr/sbin/tftpd \
|
|
; do
|
|
if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/busybox" ]; then
|
|
rm "$link"
|
|
fi
|
|
done
|
|
|
|
# We need the symlinks early
|
|
exec /bin/busybox --install -s
|