commit b1625763ee6327d412796f001f166b28d4178944
parent 91bdfc27660228a6aee2f56aff54cf27cb6bae59
Author: Daniel Barlow <dan@telent.net>
Date: Wed, 16 Oct 2024 22:59:01 +0100
ppp service signal readiness only when ip-up has run
as downstream services need e.g. ifname which is not written by ipv6-up
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/ppp/common.nix b/modules/ppp/common.nix
@@ -33,7 +33,7 @@ let
echo $4 > ipv6-address
echo $5 > ipv6-peer-address
)
- echo >/proc/self/fd/10
+ test -e tty && echo >/proc/self/fd/10
'';
literal_or_output =
let v = o: ({