Removed redundant if, added sudo to service cmd

This commit is contained in:
Devin Slick 2015-10-23 17:58:29 -05:00
commit 3408308c9d

View file

@ -314,10 +314,10 @@ if [ "${AUTODELETE}" == "yes" ]; then
fi
if [ "${AUTOSTART}" == "yes" ]; then
if [ "${REDHAT}" == "no" ]; if [ "${AUTOINSTALL}" == "yes" ]; then
if [ "${REDHAT}" == "no" ]; then
echo "The AUTOSTART [-s] option may not be needed on your distribution."
fi
service plexmediaserver start
sudo service plexmediaserver start
fi
exit 0