diff options
Diffstat (limited to 'japanese/FreeWnn-server/files/cwnn.sh.in')
-rw-r--r-- | japanese/FreeWnn-server/files/cwnn.sh.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/japanese/FreeWnn-server/files/cwnn.sh.in b/japanese/FreeWnn-server/files/cwnn.sh.in new file mode 100644 index 000000000000..6a5627663586 --- /dev/null +++ b/japanese/FreeWnn-server/files/cwnn.sh.in @@ -0,0 +1,27 @@ +#!/bin/sh +# $FreeBSD$ +# +# PROVIDE: cwnn +# REQUIRE: LOGIN +# KEYWORD: shutdown +# + +. %%RC_SUBR%% + +name=cwnn +rcvar=`set_rcvar` +command=%%PREFIX%%/bin/cWnn4/cserver +procname=%%PREFIX%%/bin/cWnn4/cserver + +start_precmd() +{ + rm -f /tmp/cd_sockV4 +} + +stop_postcmd() +{ + rm -f /tmp/cd_sockV4 +} + +load_rc_config ${name} +run_rc_command $1 |