projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ae44a
)
One more
author
Steven Barth
<steven@midlink.org>
Sat, 6 Sep 2008 14:31:17 +0000
(14:31 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 6 Sep 2008 14:31:17 +0000
(14:31 +0000)
libs/uci/root/sbin/luci-reload
patch
|
blob
|
history
diff --git
a/libs/uci/root/sbin/luci-reload
b/libs/uci/root/sbin/luci-reload
index a92c6eb7fa505789a0fed47b805424fe2c369e5a..4e0520cd06f091a1186c8caeed2c87f69f22a180 100644
(file)
--- a/
libs/uci/root/sbin/luci-reload
+++ b/
libs/uci/root/sbin/luci-reload
@@
-11,14
+11,14
@@
apply_config() {
reload_exec() {
[ -x $2 ] && {
- echo
-n
"Reloading $1... "
+ echo "Reloading $1... "
$2 >/dev/null 2>&1 && echo "done." || echo "failed!"
}
}
reload_init() {
[ -x /etc/init.d/$2 ] && /etc/init.d/$2 enabled && {
- echo
-n
"Reloading $1... "
+ echo "Reloading $1... "
/etc/init.d/$2 reload >/dev/null 2>&1 && echo "done." || echo "failed!"
}
}