Page MenuHomeFreeBSD

D31709.id97771.diff
No OneTemporary

D31709.id97771.diff

diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -36,6 +36,7 @@
gbde \
geli \
geli2 \
+ ggated \
gptboot \
growfs \
gssd \
diff --git a/libexec/rc/rc.d/ggated b/libexec/rc/rc.d/ggated
new file mode 100644
--- /dev/null
+++ b/libexec/rc/rc.d/ggated
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# PROVIDE: ggated
+# REQUIRE: NETWORKING
+
+. /etc/rc.subr
+
+name="ggated"
+desc="GEOM Gate network daemon"
+rcvar="ggated_enable"
+command="/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config $name
+params="${ggated_params}"
+config="${ggated_config:-/etc/gg.exports}"
+required_files="${config}"
+
+command_args="${params} ${config}"
+
+run_rc_command "$1"

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 3, 1:48 AM (18 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30740800
Default Alt Text
D31709.id97771.diff (746 B)

Event Timeline