Signed-off-by: Ray Spear <[email protected]>
---
contrib/install-autotest-server.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/contrib/install-autotest-server.sh
b/contrib/install-autotest-server.sh
index 00b4287..1b8ab01 100755
--- a/contrib/install-autotest-server.sh
+++ b/contrib/install-autotest-server.sh
@@ -408,7 +408,12 @@ fi
}
print_install_status() {
-print_log "INFO" "$(systemctl status autotestd.service)"
+if [ -x /etc/init.d/httpd ]
+then
+ print_log "INFO" "$(service autotest status)"
+else
+ print_log "INFO" "$(systemctl status autotestd.service)"
+fi
cd $ATHOME/client/shared/
VERSION="$(./version.py)"
--
1.7.7.6
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest