suppress AUTOSTART warning for synology

AUTOSTART is needed on synology
This commit is contained in:
Max 2019-06-19 16:11:24 -04:00
parent a83f077d4a
commit c2037952a6
No known key found for this signature in database
GPG key ID: 0BDA73476CD8AB10

View file

@ -510,7 +510,7 @@ if [ "${AUTODELETE}" = "yes" ]; then
fi
if [ "${AUTOSTART}" = "yes" ]; then
if [ "${DISTRO}" != "redhat" ]; then
if [ "${DISTRO}" != "redhat" -a "${DISTRO}" != "synology" ]; then
warn "The AUTOSTART [-s] option may not be needed on your distribution."
fi
# Check for systemd