summaryrefslogtreecommitdiff
path: root/net/dhcp6/files/dhcp6relay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/dhcp6/files/dhcp6relay.sh')
-rw-r--r--net/dhcp6/files/dhcp6relay.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/dhcp6/files/dhcp6relay.sh b/net/dhcp6/files/dhcp6relay.sh
new file mode 100644
index 000000000000..bff8d9815a2d
--- /dev/null
+++ b/net/dhcp6/files/dhcp6relay.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: dhcp6relay
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: FreeBSD shutdown
+#
+# NOTE for FreeBSD 5.0+:
+# If you want this script to start with the base rc scripts
+# move dhcp6relay.sh to /etc/rc.d/dhcp6relay
+
+prefix=%%PREFIX%%
+
+# Define these dhcp6relay_* variables in one of these files:
+# /etc/rc.conf
+# /etc/rc.conf.local
+# /etc/rc.conf.d/dhcp6relay
+#
+# DO NOT CHANGE THESE DEFAULT VALUES HERE
+#
+dhcp6relay_enable=${dhcp6relay_enable:-"NO"} # Enable dhcp6relay
+#dhcp6relay_program="${prefix}/sbin/${name}" # Location of dhcp6relay
+#dhcp6relay_flags="-r fxp1 fxp0" # Flags to dhcp6relay program
+
+. %%RC_SUBR%%
+
+name="dhcp6relay"
+rcvar=`set_rcvar`
+command="${prefix}/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"