commit f9f9720ba7fc7e72ec639e69fc68e2354c735637
parent 4596bc3e88fef314a9314db2b2ad6ad8d8d7e749
Author: Daniel Barlow <dan@telent.net>
Date: Tue, 7 Mar 2023 19:05:58 +0000
${!foo} doesn't work in ash, switch to printenv
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/liminix-tools/networking/udhcpc.nix b/pkgs/liminix-tools/networking/udhcpc.nix
@@ -20,7 +20,7 @@ let
ip address replace $ip/$mask dev $interface
(in_outputs ${name}
for i in lease mask ip router siaddr dns serverid subnet opt53 interface ; do
- echo ''${!i} > $i
+ printenv $i > $i
done)
}
case $action in