git: 707a34afe16b - stable/14 - nuageinit: remove redundant mkdirs

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 15 Jan 2025 09:51:34 UTC
The branch stable/14 has been updated by bapt:

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

commit 707a34afe16bffa0f9ab1ae936faa5c3ee7f47c4
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-11-27 09:03:06 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-01-15 09:51:27 +0000

    nuageinit: remove redundant mkdirs
    
    (cherry picked from commit f3b371f4d938c09c4cdc8fd95b4b52e1d8dd41dd)
---
 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 = {}