2022-09-26 13:26:54 +02:00
|
|
|
{
|
2023-09-01 00:52:59 +02:00
|
|
|
ifwait
|
2023-08-28 00:38:59 +02:00
|
|
|
, serviceFns
|
2022-09-26 13:26:54 +02:00
|
|
|
}:
|
2023-09-01 00:52:59 +02:00
|
|
|
{
|
2023-08-28 00:38:59 +02:00
|
|
|
ifup = name : ifname : ''
|
|
|
|
. ${serviceFns}
|
|
|
|
${ifwait}/bin/ifwait -v ${ifname} present
|
|
|
|
ip link set up dev ${ifname}
|
|
|
|
(in_outputs ${name}
|
|
|
|
echo ${ifname} > ifname
|
|
|
|
)
|
|
|
|
'';
|
2022-09-26 13:26:54 +02:00
|
|
|
}
|