disable IPv6 restconf test by default
This commit is contained in:
parent
6eb18da5e9
commit
a5d56f1cb7
2 changed files with 10 additions and 3 deletions
|
|
@ -42,8 +42,7 @@ if [ -f ./config.sh ]; then
|
|||
fi
|
||||
|
||||
# Sanity nginx running on systemd platforms
|
||||
# ./lib.sh: line 45: systemctl: command not found
|
||||
if systemctl > /dev/null; then
|
||||
if systemctl > /dev/null 2>&1 ; then
|
||||
nginxactive=$(systemctl show nginx |grep ActiveState=active)
|
||||
if [ "${WITH_RESTCONF}" = "fcgi" ]; then
|
||||
if [ -z "$nginxactive" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue