mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-25 19:09:08 +02:00
Added error message in case chkconfig fails
This commit is contained in:
parent
1d0510f92e
commit
6b708339f1
@ -110,6 +110,10 @@ then
|
|||||||
systemctl enable pandora_agent_daemon.service
|
systemctl enable pandora_agent_daemon.service
|
||||||
else
|
else
|
||||||
chkconfig pandora_agent_daemon on
|
chkconfig pandora_agent_daemon on
|
||||||
|
if [ "$?" -gt 0 ]
|
||||||
|
then
|
||||||
|
echo "There was a problem configuring pandora_agent_daemon service to run on boot. Please enable it manually."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" -gt 1 ]
|
if [ "$1" -gt 1 ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user