21 lines
401 B
Text
21 lines
401 B
Text
|
#!/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
|