1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/irc/ircd-hybrid/files/ircd.sh
Kevin Lo bc1c3dd709 The startup script provided with the irc/ircd-hybrid port is missing
a ";;" to close a 'case' statement entry.

PR: 20302
Submitted by: Peter Pentchev <roam@orbitel.bg>
2000-07-31 08:47:35 +00:00

19 lines
247 B
Bash

#!/bin/sh
case "$1" in
start)
[ -x /usr/local/sbin/ircd ] \
&& /usr/local/sbin/ircd >/dev/null 2>&1 \
&& echo -n " ircd"
;;
stop)
killall ircd && echo -n ' ircd'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
exit 0