[nodogsplash] fixing syntax errors in the init script
git-svn-id: svn://svn.openwrt.org/openwrt/packages/net/nodogsplash@16832 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
62de5ee1c7
commit
7e4a500e76
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,7 @@ start() {
|
||||||
if $WD_DIR/ndsctl status 2> /dev/null; then
|
if $WD_DIR/ndsctl status 2> /dev/null; then
|
||||||
echo "FAILED: nodogsplash already running"
|
echo "FAILED: nodogsplash already running"
|
||||||
else
|
else
|
||||||
if $0 test_module && $WD_DIR/nodogsplash $OPTIONS; then
|
if test_module && $WD_DIR/nodogsplash $OPTIONS; then
|
||||||
echo "OK: nodogsplash started"
|
echo "OK: nodogsplash started"
|
||||||
else
|
else
|
||||||
echo "FAILED: nodogsplash exited with non 0 status"
|
echo "FAILED: nodogsplash exited with non 0 status"
|
||||||
|
@ -45,6 +45,8 @@ stop() {
|
||||||
else
|
else
|
||||||
echo "FAILED: nodogsplash was not running"
|
echo "FAILED: nodogsplash was not running"
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
status() {
|
status() {
|
||||||
$WD_DIR/ndsctl status
|
$WD_DIR/ndsctl status
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue