diff options
Diffstat (limited to 'net/pimd/files/pimd.in')
-rw-r--r-- | net/pimd/files/pimd.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/pimd/files/pimd.in b/net/pimd/files/pimd.in new file mode 100644 index 000000000000..80c04ebc3a1e --- /dev/null +++ b/net/pimd/files/pimd.in @@ -0,0 +1,26 @@ +#!/bin/sh +# +# PROVIDE: pimd +# REQUIRE: netif routing +# KEYWORD: nojail + +# +# Add the following to /etc/rc.conf[.local] to enable this service +# +# pimd_enable="YES" +# + +. /etc/rc.subr + +pimd_enable=${pimd_enable-"NO"} + +name="pimd" +rcvar=${name}_enable + +command="/usr/local/sbin/${name}" + +extra_commands=reload + +load_rc_config $name +run_rc_command "$1" + |