diff options
author | kei <kei@pkgsrc.org> | 2001-04-11 22:48:48 +0000 |
---|---|---|
committer | kei <kei@pkgsrc.org> | 2001-04-11 22:48:48 +0000 |
commit | 33ee9d4a8b572215de44d47c4fdeb46ec7a7b87a (patch) | |
tree | 412c94215c7e3ae9da4b46527f22603c088861a8 /misc/freewnn-common | |
parent | 12a5fb83acb31d6b548c294a2d018bc614d93aa4 (diff) | |
download | pkgsrc-33ee9d4a8b572215de44d47c4fdeb46ec7a7b87a.tar.gz |
* Script file were accidentally cut in the middle. Fixed as original PR
pkg/11963. Pointed out by key@kaynet.or.jp on tech-pkg-ja.
Diffstat (limited to 'misc/freewnn-common')
-rw-r--r-- | misc/freewnn-common/files/ja-freewnn | 18 |
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 |