reworked from an original diff by schwarze@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.20 2014/08/24 19:44:02 schwarze Exp $
+# $OpenBSD: rcctl.sh,v 1.21 2014/08/25 07:35:37 ajacoutot Exp $
#
# Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
#
usage()
{
- _rc_err "usage: ${0##*/} [-df] enable|disable|status|action [service | daemon [flags [...]]]"
+ _rc_err "usage: ${0##*/} [-df] enable|disable|status|action
+ [service | daemon [flags [arguments]]]"
}
needs_root()