busybox: avoid hardcoded $HOME

This commit is contained in:
Henrik Grimler 2020-01-05 12:41:53 +01:00
parent 1deb5f4665
commit c868094d05

View File

@ -77,7 +77,7 @@ termux_step_post_make_install() {
cd $TERMUX_PREFIX/var/service
mkdir -p ftpd/log telnetd/log
echo "#!$TERMUX_PREFIX/bin/sh" > ftpd/run
echo 'exec busybox tcpsvd -vE 0.0.0.0 8021 ftpd /data/data/com.termux/files/home' >> ftpd/run
echo 'exec busybox tcpsvd -vE 0.0.0.0 8021 ftpd $HOME' >> ftpd/run
echo "#!$TERMUX_PREFIX/bin/sh" > telnetd/run
echo 'exec busybox telnetd -F' >> telnetd/run
chmod +x */run