diff options
Diffstat (limited to 'sys-apps/nca/files/ncad.initd')
-rw-r--r-- | sys-apps/nca/files/ncad.initd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/nca/files/ncad.initd b/sys-apps/nca/files/ncad.initd new file mode 100644 index 000000000000..5e7fff2fed87 --- /dev/null +++ b/sys-apps/nca/files/ncad.initd @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --quiet --exec /sbin/ncad + eend ${?} +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --retry 5 --quiet --exec /sbin/ncad + eend ${?} +} |