git: f3b371f4d938 - main - nuageinit: remove redundant mkdirs

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 27 Nov 2024 09:03:38 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=f3b371f4d938c09c4cdc8fd95b4b52e1d8dd41dd

commit f3b371f4d938c09c4cdc8fd95b4b52e1d8dd41dd
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-11-27 09:03:06 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-11-27 09:03:06 +0000

    nuageinit: remove redundant mkdirs
---
 libexec/nuageinit/nuageinit | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libexec/nuageinit/nuageinit b/libexec/nuageinit/nuageinit
index 5249c09eb5f1..88e8b6c4c2cd 100755
--- a/libexec/nuageinit/nuageinit
+++ b/libexec/nuageinit/nuageinit
@@ -95,7 +95,6 @@ local function config2_network(p)
 		mylinks[v["id"]] = ifaces[s]
 	end
 
-	nuage.mkdir_p(root .. "/etc/rc.conf.d")
 	local network = open_config("network")
 	local routing = open_config("routing")
 	local ipv6 = {}
@@ -308,7 +307,6 @@ if line == "#cloud-config" then
 	end
 	if obj.network then
 		local ifaces = get_ifaces()
-		nuage.mkdir_p(root .. "/etc/rc.conf.d")
 		local network = open_config("network")
 		local routing = open_config("routing")
 		local ipv6 = {}