Line
Link Here
|
0 |
-- init.d/udev |
0 |
++ init.d/udev |
Lines 118-124
Link Here
|
118 |
{ |
118 |
{ |
119 |
if is_service_enabled network; then |
119 |
if is_service_enabled network; then |
120 |
# disable network hotplugging |
120 |
# disable network hotplugging |
121 |
local f="/run/udev/rules.d/90-network.rules" |
121 |
local d="/run/udev/rules.d" |
|
|
122 |
mkdir -p "${d}" |
123 |
local f="${d}/90-network.rules" |
122 |
echo "# This file disables network hotplug events calling" >> "${f}" |
124 |
echo "# This file disables network hotplug events calling" >> "${f}" |
123 |
echo "# old-style openrc net scripts" >> "${f}" |
125 |
echo "# old-style openrc net scripts" >> "${f}" |
124 |
echo "# as we use /etc/init.d/network to set up our network" >> "${f}" |
126 |
echo "# as we use /etc/init.d/network to set up our network" >> "${f}" |