From 5f922cf3efc07a648568706c18a084fabf703e1d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 19 Jan 2017 17:47:03 +0100 Subject: [PATCH] gluon-status-page-api: upgrade: don't throw error messages without rpcd --- .../files/lib/gluon/upgrade/500-status-page-api | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/gluon-status-page-api/files/lib/gluon/upgrade/500-status-page-api b/package/gluon-status-page-api/files/lib/gluon/upgrade/500-status-page-api index 854d1d26..710765a2 100755 --- a/package/gluon-status-page-api/files/lib/gluon/upgrade/500-status-page-api +++ b/package/gluon-status-page-api/files/lib/gluon/upgrade/500-status-page-api @@ -12,4 +12,6 @@ uci -q batch <<-EOF set uhttpd.main.max_requests=32 EOF -/etc/init.d/rpcd disable +if [ -x /etc/init.d/rpcd ]; then + /etc/init.d/rpcd disable +fi