diff options
Diffstat (limited to 'etc/rc.d/gated')
-rwxr-xr-x | etc/rc.d/gated | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/rc.d/gated b/etc/rc.d/gated new file mode 100755 index 0000000..7a11e8c --- /dev/null +++ b/etc/rc.d/gated @@ -0,0 +1,18 @@ +#!/bin/sh +# +# $NetBSD: gated,v 1.3 2000/05/13 08:45:06 lukem Exp $ +# + +# PROVIDE: gated +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="gated" +rcvar=$name +command="/usr/sbin/${name}" +pidfile="/var/run/${name}.pid" +required_files="/etc/${name}.conf" + +load_rc_config $name +run_rc_command "$1" |