summaryrefslogtreecommitdiff
path: root/sysvinit
diff options
context:
space:
mode:
authorHarm Weites <harm@weites.com>2014-08-09 10:24:34 +0000
committerHarm Weites <harm@weites.com>2014-08-09 10:24:34 +0000
commitc08262be060f6a4e89c94f81f83d7e884b66a5cf (patch)
tree01ecece4de33eaac0c64c88ffa3727142b27af29 /sysvinit
parent590685594897069fe57753f197753aab5cb440e9 (diff)
downloadvyos-cloud-init-c08262be060f6a4e89c94f81f83d7e884b66a5cf.tar.gz
vyos-cloud-init-c08262be060f6a4e89c94f81f83d7e884b66a5cf.zip
fix: Use -f to properly load the configfile.
Diffstat (limited to 'sysvinit')
-rwxr-xr-xsysvinit/freebsd/cloudconfig2
-rwxr-xr-xsysvinit/freebsd/cloudfinal2
-rwxr-xr-xsysvinit/freebsd/cloudinit2
-rwxr-xr-xsysvinit/freebsd/cloudinitlocal2
4 files changed, 4 insertions, 4 deletions
diff --git a/sysvinit/freebsd/cloudconfig b/sysvinit/freebsd/cloudconfig
index b40257ab..985fb259 100755
--- a/sysvinit/freebsd/cloudconfig
+++ b/sysvinit/freebsd/cloudconfig
@@ -27,7 +27,7 @@ cloudinit_override()
cloudconfig_start()
{
echo "${command} starting"
- ${command} ${cloudinit_config} modules --mode config
+ ${command} -f ${cloudinit_config} modules --mode config
}
load_rc_config $name
diff --git a/sysvinit/freebsd/cloudfinal b/sysvinit/freebsd/cloudfinal
index 5f2c4155..dd02b081 100755
--- a/sysvinit/freebsd/cloudfinal
+++ b/sysvinit/freebsd/cloudfinal
@@ -27,7 +27,7 @@ cloudinit_override()
cloudfinal_start()
{
echo -n "${command} starting"
- ${command} ${cloudinit_config} modules --mode final
+ ${command} -f ${cloudinit_config} modules --mode final
}
load_rc_config $name
diff --git a/sysvinit/freebsd/cloudinit b/sysvinit/freebsd/cloudinit
index 14b0257e..17eaa547 100755
--- a/sysvinit/freebsd/cloudinit
+++ b/sysvinit/freebsd/cloudinit
@@ -27,7 +27,7 @@ cloudinit_override()
cloudinit_start()
{
echo -n "${command} starting"
- ${command} ${cloudinit_config} init
+ ${command} -f ${cloudinit_config} init
}
load_rc_config $name
diff --git a/sysvinit/freebsd/cloudinitlocal b/sysvinit/freebsd/cloudinitlocal
index fdab2a12..4b122ee5 100755
--- a/sysvinit/freebsd/cloudinitlocal
+++ b/sysvinit/freebsd/cloudinitlocal
@@ -27,7 +27,7 @@ cloudinit_override()
cloudlocal_start()
{
echo -n "${command} starting"
- ${command} ${cloudinit_config} init --local
+ ${command} -f ${cloudinit_config} init --local
}
load_rc_config $name