diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-05-17 19:35:15 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-05-17 19:35:15 +0000 |
commit | 24228fd469fd4133bf9ea86a39c42aa7b198e6d9 (patch) | |
tree | 4c4084d912ecce4b2c7a71fbcdd8068a274b9d23 /package/uhttpd/files | |
parent | 9948fcb210feb8518ec319362329fcb5c2f5a495 (diff) |
[package] uhttpd: use uci_get() wrapper (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/files')
-rwxr-xr-x | package/uhttpd/files/uhttpd.init | 2 |
1 files changed, 1 insertions, 1 deletions
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" |