X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cbe586a91926490315c183de105cba6ee4872d1e..fdb5a4eb0b6297c09506f4b9524b409d4322ba1b:/package/uhttpd/files/uhttpd.init diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init index 14f8fc4c4..58f980c42 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"