projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ecd59
)
[nodogsplash] fixing syntax errors in the init script
author
Marek Lindner
<lindner_marek@yahoo.de>
Mon, 13 Jul 2009 15:20:50 +0000
(15:20 +0000)
committer
Marek Lindner
<lindner_marek@yahoo.de>
Mon, 13 Jul 2009 15:20:50 +0000
(15:20 +0000)
SVN-Revision: 16832
net/nodogsplash/files/nodogsplash.init
patch
|
blob
|
history
diff --git
a/net/nodogsplash/files/nodogsplash.init
b/net/nodogsplash/files/nodogsplash.init
index 56762804e0bbbe566c04af826d9efeb9b45f3401..7eba60b1661ba1c8281f049f6e0c0637a4fd3956 100644
(file)
--- a/
net/nodogsplash/files/nodogsplash.init
+++ b/
net/nodogsplash/files/nodogsplash.init
@@
-26,7
+26,7
@@
start() {
if $WD_DIR/ndsctl status 2> /dev/null; then
echo "FAILED: nodogsplash already running"
else
- if
$0
test_module && $WD_DIR/nodogsplash $OPTIONS; then
+ if test_module && $WD_DIR/nodogsplash $OPTIONS; then
echo "OK: nodogsplash started"
else
echo "FAILED: nodogsplash exited with non 0 status"
@@
-45,6
+45,8
@@
stop() {
else
echo "FAILED: nodogsplash was not running"
fi
+}
+
status() {
$WD_DIR/ndsctl status
}