projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e443f
)
uhttpd: use uci_get() wrapper (#7312)
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 17 May 2010 19:35:15 +0000
(19:35 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 17 May 2010 19:35:15 +0000
(19:35 +0000)
SVN-Revision: 21492
package/uhttpd/files/uhttpd.init
patch
|
blob
|
history
diff --git
a/package/uhttpd/files/uhttpd.init
b/package/uhttpd/files/uhttpd.init
index 14f8fc4c468d79ebe2b171ab258fb99aca010273..58f980c42f2dc92696f1ddfa6cc8da4b40a71cfe 100755
(executable)
--- 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"