Browse Source

busybox: avoid hardcoded $HOME

build-on-device
Henrik Grimler 5 years ago
parent
commit
5208bf2fb7
  1. 2
      packages/busybox/build.sh

2
packages/busybox/build.sh

@ -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

Loading…
Cancel
Save