remove redundant sourcing of ${serviceFns}

this is done by the oneshot and longrun functions
This commit is contained in:
Daniel Barlow
2024-08-28 21:28:27 +01:00
parent 283c3154a7
commit 7351e143c5
8 changed files with 0 additions and 10 deletions

View File

@@ -149,7 +149,6 @@ in {
dependencies = [ config.services.wan ];
name = "resolvconf";
up = ''
. ${serviceFns}
( in_outputs ${name}
echo "nameserver $(output ${config.services.wan} ns1)" > resolv.conf
echo "nameserver $(output ${config.services.wan} ns2)" >> resolv.conf

View File

@@ -81,7 +81,6 @@ in {
# 'A list of DNS server' but doesn't say what separates the
# list members. Assuming it's a space or other IFS character
up = ''
. ${serviceFns}
( in_outputs ${name}
for i in $(output ${config.services.dhcpc} dns); do
echo "nameserver $i" > resolv.conf