#!/bin/sh # if [ $(id -u) -ne 0 ]; then # echo "You must be root" # exit 1 # fi if [[ "$1" == "" ]]; then echo "using: run_ftpd " exit 1 fi sudo busybox tcpsvd -vE 0.0.0.0 21 busybox ftpd -w -S -A $1