disable and stop proftpd after OMV install
This commit is contained in:
parent
7a2c3e941f
commit
35bf20999a
7
install
7
install
@ -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."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user