use new s6-rc layout
This commit is contained in:
parent
5cef43fdaa
commit
fc8c0a489f
11 changed files with 25 additions and 14 deletions
14
rootfs/bin/static-user
Executable file
14
rootfs/bin/static-user
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! -z ${STATIC_USER+x} ]; then
|
||||
echo ${STATIC_PASSWORD} | ftpasswd \
|
||||
--sha512 \
|
||||
--passwd \
|
||||
--home /var/lib/ftp/data \
|
||||
--uid "2222" \
|
||||
--gid "2222" \
|
||||
--name "$STATIC_USER" \
|
||||
--shell /bin/sh \
|
||||
--file /etc/proftpd/passwd \
|
||||
--stdin
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue