Changeset View
Changeset View
Standalone View
Standalone View
etc/rc.d/netoptions
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# PROVIDE: netoptions | # PROVIDE: netoptions | ||||
# REQUIRE: FILESYSTEMS | # REQUIRE: FILESYSTEMS | ||||
# BEFORE: netif | # BEFORE: netif | ||||
# KEYWORD: nojail | # KEYWORD: nojail | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
. /etc/network.subr | . /etc/network.subr | ||||
name="netoptions" | name="netoptions" | ||||
desc="Network options setup" | |||||
start_cmd="netoptions_start" | start_cmd="netoptions_start" | ||||
stop_cmd=: | stop_cmd=: | ||||
_netoptions_initdone= | _netoptions_initdone= | ||||
netoptions_init() | netoptions_init() | ||||
{ | { | ||||
if [ -z "${_netoptions_initdone}" ]; then | if [ -z "${_netoptions_initdone}" ]; then | ||||
echo -n 'Additional TCP/IP options:' | echo -n 'Additional TCP/IP options:' | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |