opnsense-ports/net/cloud-init/files/patch-sysvinit_freebsd_cloudinit
Franco Fichtner 847efddc91 */*: sync with upstream
Taken from: HardenedBSD
2018-08-03 04:19:46 +02:00

19 lines
420 B
Text

--- sysvinit/freebsd/cloudinit.orig 2018-08-01 15:31:22 UTC
+++ sysvinit/freebsd/cloudinit
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: cloudinit
-# REQUIRE: FILESYSTEMS NETWORKING cloudinitlocal
+# REQUIRE: FILESYSTEMS NETWORKING cloudinitlocal ldconfig
# BEFORE: cloudconfig cloudfinal
. /etc/rc.subr
@@ -22,4 +22,7 @@ cloudinit_start()
}
load_rc_config $name
+
+: ${cloudinit_enable="NO"}
+
run_rc_command "$1"