install_easy.sh : sysv init check script exists in /etc/init.d

This commit is contained in:
bol-van 2021-11-16 11:56:04 +03:00
parent e6e8ca1d4a
commit fbd30ba5e1

View File

@ -977,11 +977,12 @@ install_openrc_init()
service_start_sysv()
{
echo \* starting zapret service
"$INIT_SCRIPT" start || {
echo could not start zapret service
exitp 30
[ -x "$INIT_SCRIPT" ] && {
echo \* starting zapret service
"$INIT_SCRIPT" start || {
echo could not start zapret service
exitp 30
}
}
}