blob: 2c059c9ebcafa3a0de3f97a85ba0bf424dfb36b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/files/routed.initd,v 1.2 2004/03/06 03:36:03 vapier Exp $
depend() {
need net
}
start() {
ebegin "Starting routed"
/sbin/start-stop-daemon --start --quiet \
--exec /usr/sbin/routed -- ${ROUTED_OPTS}
eend $?
}
stop() {
ebegin "Stopping routed"
/sbin/start-stop-daemon --stop --quiet --exec /usr/sbin/routed
eend $?
}
|