mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 23:04:23 +00:00
install_easy.sh : sysv init check script exists in /etc/init.d
This commit is contained in:
parent
e6e8ca1d4a
commit
fbd30ba5e1
@ -977,13 +977,14 @@ install_openrc_init()
|
||||
|
||||
service_start_sysv()
|
||||
{
|
||||
[ -x "$INIT_SCRIPT" ] && {
|
||||
echo \* starting zapret service
|
||||
|
||||
"$INIT_SCRIPT" start || {
|
||||
echo could not start zapret service
|
||||
exitp 30
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
service_stop_sysv()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user