351646d5bd
except when it already exists, of course
8 lines
182 B
Bash
Executable file
8 lines
182 B
Bash
Executable file
#!/bin/sh
|
|
exec 2>&1
|
|
UID=$(id -u ftp)
|
|
GID=$(id -g ftp)
|
|
echo $UID > ./env/UID
|
|
echo $GID > ./env/GID
|
|
mkdir -p $(<./env/HOME)
|
|
exec chpst -e ./env tcpserver -DHRv 0 ftp twoftpd-anon 2>&1
|