default dirs
This commit is contained in:
parent
8289114ee6
commit
8dcdd4a30a
@ -1,5 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
############ CREATE DIRS
|
||||||
|
mkdir -p /auth /logs
|
||||||
|
chown proftpd /auth /logs
|
||||||
|
chmod u+rw /auth /logs
|
||||||
|
chmod g-w /auth /logs
|
||||||
|
|
||||||
############ MASQUERADE
|
############ MASQUERADE
|
||||||
MASQUERADE=${MASQUERADE:-127.0.0.1}
|
MASQUERADE=${MASQUERADE:-127.0.0.1}
|
||||||
echo "MasqueradeAddress ${MASQUERADE}" > /etc/proftpd/conf.d/masquerade.conf
|
echo "MasqueradeAddress ${MASQUERADE}" > /etc/proftpd/conf.d/masquerade.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user