disable and stop proftpd after OMV install

This commit is contained in:
Aaron Murray 2020-10-23 08:34:49 -05:00
parent 7a2c3e941f
commit 35bf20999a

View File

@ -13,7 +13,7 @@
# https://github.com/armbian/config/blob/master/debian-software # https://github.com/armbian/config/blob/master/debian-software
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
# #
# version: 1.2.9 # version: 1.2.10
# #
if [[ $(id -u) -ne 0 ]]; then if [[ $(id -u) -ne 0 ]]; then
@ -375,6 +375,11 @@ if [ -f "${forceIpv4}" ]; then
rm ${forceIpv4} rm ${forceIpv4}
fi fi
if [ -f "/etc/init.d/proftpd" ]; then
systemctl disable proftpd.service
systemctl stop proftpd.service
fi
if [[ "${arch}" == "amd64" ]] || [[ "${arch}" == "i386" ]]; then if [[ "${arch}" == "amd64" ]] || [[ "${arch}" == "i386" ]]; then
# skip ionice on x86 boards # skip ionice on x86 boards
echo "Done." echo "Done."