--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- init.d/udev +++ init.d/udev @@ -118,7 +118,9 @@ { if is_service_enabled network; then # disable network hotplugging - local f="/run/udev/rules.d/90-network.rules" + local d="/run/udev/rules.d" + mkdir -p "${d}" + local f="${d}/90-network.rules" echo "# This file disables network hotplug events calling" >> "${f}" echo "# old-style openrc net scripts" >> "${f}" echo "# as we use /etc/init.d/network to set up our network" >> "${f}"