From e2d00881a4043aa91bb3726fd0a698b827d43ae3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:35:15 +0000 Subject: [PATCH] [package] uhttpd: use uci_get() wrapper (#7312) SVN-Revision: 21492 --- package/uhttpd/files/uhttpd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init index 14f8fc4c46..58f980c42f 100755 --- a/package/uhttpd/files/uhttpd.init +++ b/package/uhttpd/files/uhttpd.init @@ -48,7 +48,7 @@ start_instance() UHTTPD_KEY="" local cfg="$1" - local realm="$(uci get system.@system[0].hostname 2>/dev/null)" + local realm="$(uci_get system.@system[0].hostname)" local listen http https append_arg "$cfg" home "-h" -- 2.30.2