summaryrefslogtreecommitdiff
path: root/sysvinit
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-11 21:15:45 +0100
committerGitHub <noreply@github.com>2020-03-11 21:15:45 +0100
commitfd87c24ff8f6f09a7e2cc223a4e8cdb8c08f1ef8 (patch)
treeb754b3991e5e57a9ae9155819f73fa0cbd4be269 /sysvinit
parentca9a4eb26b41c204d1bd3a15586b14a5dde950bb (diff)
parentc6627bc05a57645e6af8b9a5a67e452d9f37e487 (diff)
downloadvyos-cloud-init-fd87c24ff8f6f09a7e2cc223a4e8cdb8c08f1ef8.tar.gz
vyos-cloud-init-fd87c24ff8f6f09a7e2cc223a4e8cdb8c08f1ef8.zip
Merge pull request #4 from zdc/T2117
Cloud-init: T2117: Updated to 20.1 version
Diffstat (limited to 'sysvinit')
-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 33263009..aa5bd118 100755
--- a/sysvinit/freebsd/cloudinit
+++ b/sysvinit/freebsd/cloudinit
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: cloudinit
-# REQUIRE: FILESYSTEMS NETWORKING cloudinitlocal
+# 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"