freebsd-dev/etc/rc.d/auto_linklocal
Hajimu UMEMOTO 639b2c8e5a Restore the behavior that net.inet6.ip6.auto_linklocal=0 could
be coexist with ipv6_enable="YES".

MFC after:	3 days
2006-10-07 15:45:56 +00:00

19 lines
259 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: auto_linklocal
# REQUIRE: root
# BEFORE: sysctl
. /etc/rc.subr
name="auto_linklocal"
rcvar=`set_rcvar ipv6`
start_cmd="${SYSCTL_W} net.inet6.ip6.auto_linklocal=1"
stop_cmd=":"
load_rc_config $name
run_rc_command "$1"