mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-24 15:16:45 +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()
|
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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user