2022-09-26 11:26:54 +00:00
|
|
|
{
|
2025-02-10 21:55:08 +00:00
|
|
|
ifwait,
|
|
|
|
serviceFns,
|
2022-09-26 11:26:54 +00:00
|
|
|
}:
|
2023-08-31 22:52:59 +00:00
|
|
|
{
|
2025-02-10 21:55:08 +00:00
|
|
|
ifup = name: ifname: ''
|
2023-08-27 22:38:59 +00:00
|
|
|
. ${serviceFns}
|
|
|
|
${ifwait}/bin/ifwait -v ${ifname} present
|
|
|
|
ip link set up dev ${ifname}
|
|
|
|
(in_outputs ${name}
|
|
|
|
echo ${ifname} > ifname
|
|
|
|
)
|
|
|
|
'';
|
2022-09-26 11:26:54 +00:00
|
|
|
}
|