summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Galić <me+git@igalic.co>2020-02-07 23:03:17 +0100
committerGitHub <noreply@github.com>2020-02-07 17:03:17 -0500
commit616d0a60d8d6ef0fa024267e718b3ed0e3b6bbdc (patch)
tree0bf06cc54223a56a9b14f74bdf9b3253f183e0f8
parentb285efb97947af1966b2a46df30e0764ba44aa55 (diff)
downloadvyos-cloud-init-616d0a60d8d6ef0fa024267e718b3ed0e3b6bbdc.tar.gz
vyos-cloud-init-616d0a60d8d6ef0fa024267e718b3ed0e3b6bbdc.zip
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
-rwxr-xr-xsysvinit/freebsd/cloudconfig3
-rwxr-xr-xsysvinit/freebsd/cloudfinal3
-rwxr-xr-xsysvinit/freebsd/cloudinit5
-rwxr-xr-xsysvinit/freebsd/cloudinitlocal3
4 files changed, 13 insertions, 1 deletions
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"