aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/files/uhttpd.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:35:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:35:15 +0000
commitd553f3eccdfe0b4910c8cc49dfcd75c6ef3931c1 (patch)
tree4c4084d912ecce4b2c7a71fbcdd8068a274b9d23 /package/uhttpd/files/uhttpd.init
parent637f34944ec78a5bb0bc2f8bac4fc0289b660c69 (diff)
downloadupstream-d553f3eccdfe0b4910c8cc49dfcd75c6ef3931c1.tar.gz
upstream-d553f3eccdfe0b4910c8cc49dfcd75c6ef3931c1.tar.bz2
upstream-d553f3eccdfe0b4910c8cc49dfcd75c6ef3931c1.zip
[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/uhttpd.init')
-rwxr-xr-xpackage/uhttpd/files/uhttpd.init2
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"