Skip to content

Commit

Permalink
install_easy.sh : sysv init check script exists in /etc/init.d
Browse files Browse the repository at this point in the history
  • Loading branch information
bol-van committed Nov 16, 2021
1 parent e6e8ca1 commit fbd30ba
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions install_easy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

Expand Down

0 comments on commit fbd30ba

Please sign in to comment.