From 616d0a60d8d6ef0fa024267e718b3ed0e3b6bbdc Mon Sep 17 00:00:00 2001 From: Igor Galić Date: Fri, 7 Feb 2020 23:03:17 +0100 Subject: import sysvinit patches from freebsd-ports tree (#161) bugzilla ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224361 svn rev: https://svnweb.freebsd.org/ports?view=revision&revision=457768 --- sysvinit/freebsd/cloudconfig | 3 +++ sysvinit/freebsd/cloudfinal | 3 +++ sysvinit/freebsd/cloudinit | 5 ++++- sysvinit/freebsd/cloudinitlocal | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/sysvinit/freebsd/cloudconfig b/sysvinit/freebsd/cloudconfig index e4064fa3..fb604f4d 100755 --- a/sysvinit/freebsd/cloudconfig +++ b/sysvinit/freebsd/cloudconfig @@ -22,4 +22,7 @@ cloudconfig_start() } load_rc_config $name + +: ${cloudconfig_enable="NO"} + run_rc_command "$1" diff --git a/sysvinit/freebsd/cloudfinal b/sysvinit/freebsd/cloudfinal index b6894c39..72047653 100755 --- a/sysvinit/freebsd/cloudfinal +++ b/sysvinit/freebsd/cloudfinal @@ -22,4 +22,7 @@ cloudfinal_start() } load_rc_config $name + +: ${cloudfinal_enable="NO"} + run_rc_command "$1" diff --git a/sysvinit/freebsd/cloudinit b/sysvinit/freebsd/cloudinit index 6bf7fa5b..aa5bd118 100755 --- a/sysvinit/freebsd/cloudinit +++ b/sysvinit/freebsd/cloudinit @@ -1,7 +1,7 @@ #!/bin/sh # PROVIDE: cloudinit -# REQUIRE: FILESYSTEMS NETWORKING cloudinitlocal devd +# REQUIRE: FILESYSTEMS NETWORKING cloudinitlocal ldconfig devd # BEFORE: cloudconfig cloudfinal . /etc/rc.subr @@ -22,4 +22,7 @@ cloudinit_start() } load_rc_config $name + +: ${cloudinit_enable="NO"} + run_rc_command "$1" diff --git a/sysvinit/freebsd/cloudinitlocal b/sysvinit/freebsd/cloudinitlocal index 7a034b3b..cb67b4a2 100755 --- a/sysvinit/freebsd/cloudinitlocal +++ b/sysvinit/freebsd/cloudinitlocal @@ -22,4 +22,7 @@ cloudlocal_start() } load_rc_config $name + +: ${cloudinitlocal_enable="NO"} + run_rc_command "$1" -- cgit v1.2.3