summaryrefslogtreecommitdiff
path: root/misc/freewnn-common
diff options
context:
space:
mode:
Diffstat (limited to 'misc/freewnn-common')
-rw-r--r--misc/freewnn-common/files/ja-freewnn18
1 files changed, 16 insertions, 2 deletions
diff --git a/misc/freewnn-common/files/ja-freewnn b/misc/freewnn-common/files/ja-freewnn
index c61f0b38d89..37a36ce8ccf 100644
--- a/misc/freewnn-common/files/ja-freewnn
+++ b/misc/freewnn-common/files/ja-freewnn
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ja-freewnn,v 1.1 2001/03/16 18:32:47 wiz Exp $
+# $NetBSD: ja-freewnn,v 1.2 2001/04/11 22:48:48 kei Exp $
#
# PROVIDE: freewnn
# REQUIRE: DAEMON
@@ -17,4 +17,18 @@ cmd=${1:-start}
case ${cmd} in
start)
if [ -x ${command_start} ]; then
- echo "Start \ No newline at end of file
+ echo "Starting ${name}."
+ ${command_start} >/dev/null 2>&1
+ fi
+ ;;
+stop)
+ if [ -x ${command_stop} ]; then
+ echo "Stopping ${name}."
+ ${command_stop} >/dev/null 2>&1
+ fi
+ ;;
+*)
+ :
+ ;;
+esac
+exit 0