mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 14:53:18 +00:00
install_easy.sh : sysv init check script exists in /etc/init.d
This commit is contained in:
parent
e6e8ca1d4a
commit
fbd30ba5e1
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user