Deleted Added
full compact
ipfs (193198) ipfs (230099)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/ipfs 193198 2009-06-01 05:35:03Z dougb $
3# $FreeBSD: head/etc/rc.d/ipfs 230099 2012-01-14 02:18:41Z dougb $
4#
5
6# PROVIDE: ipfs
7# REQUIRE: ipnat
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="ipfs"
4#
5
6# PROVIDE: ipfs
7# REQUIRE: ipnat
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="ipfs"
13rcvar=`set_rcvar`
13rcvar="ipfs_enable"
14start_cmd="ipfs_start"
15stop_cmd="ipfs_stop"
16start_precmd="ipfs_prestart"
17
18ipfs_prestart()
19{
20 # Do not continue if either ipnat or ipfilter is not enabled or
21 # if the ipfilter module is not loaded.

--- 30 unchanged lines hidden ---
14start_cmd="ipfs_start"
15stop_cmd="ipfs_stop"
16start_precmd="ipfs_prestart"
17
18ipfs_prestart()
19{
20 # Do not continue if either ipnat or ipfilter is not enabled or
21 # if the ipfilter module is not loaded.

--- 30 unchanged lines hidden ---