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,12 +977,13 @@ install_openrc_init()
service_start_sysv() service_start_sysv()
{ {
[ -x "$INIT_SCRIPT" ] && {
echo \* starting zapret service echo \* starting zapret service
"$INIT_SCRIPT" start || { "$INIT_SCRIPT" start || {
echo could not start zapret service echo could not start zapret service
exitp 30 exitp 30
} }
}
} }
service_stop_sysv() service_stop_sysv()