Update auto-doc
This commit is contained in:
parent
05fb603324
commit
f726d0b242
1 changed files with 9 additions and 0 deletions
9
run.sh
9
run.sh
|
@ -32,6 +32,15 @@ vsftp_main() {
|
||||||
if [ -z "$username" ]; then break ; fi
|
if [ -z "$username" ]; then break ; fi
|
||||||
vsftp_add_user "$username" "$password"
|
vsftp_add_user "$username" "$password"
|
||||||
done
|
done
|
||||||
|
if [ $idx -eq 1 ]; then
|
||||||
|
echo "Please export environement variables for users"
|
||||||
|
echo ""
|
||||||
|
echo "Ex: "
|
||||||
|
echo " VSFTP_USER_1_USERNAME=johnsnow"
|
||||||
|
echo " VSFTP_USER_1_PASSWORD=Winter1sC0ming"
|
||||||
|
echo " VSFTP_USER_2_USERNAME=tyrionlannister"
|
||||||
|
echo " VSFTP_USER_2_PASSWORD=aLann1ster4lwaysPaysHisD3bts"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Starting VSFTP"
|
echo "Starting VSFTP"
|
||||||
exec vsftpd /etc/vsftpd/vsftpd.conf
|
exec vsftpd /etc/vsftpd/vsftpd.conf
|
||||||
|
|
Loading…
Reference in a new issue