initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

24
proftpd/proftpd.install Normal file
View File

@@ -0,0 +1,24 @@
post_install() {
if ! getent group proftpd &>/dev/null; then
groupadd -r proftpd >& /dev/null
fi
if ! getent passwd proftpd &>/dev/null; then
useradd -r -d /var/lib/ftp -g proftpd -s /bin/false proftpd
usermod -aG ftp proftpd
fi
chown proftpd:proftpd /var/lib/ftp
}
post_upgrade() {
post_install $1
}
post_remove() {
if getent passwd proftpd &>/dev/null; then
userdel proftpd >/dev/null
fi
if getent group proftpd &>/dev/null; then
groupdel proftpd >/dev/null
fi
}