summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/udhcpc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 08:20:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 08:20:22 +0000
commit8286add1116697498fe44b9de347476fa9a33833 (patch)
tree13cc627c4bab781c4b2934fbf30c0949660b7184 /layout/rootfs/etc/udhcpc
parent0c2dd45bb46a689611bc8c568103c7011ec3ad06 (diff)
downloadlh-bootstrap-8286add1116697498fe44b9de347476fa9a33833.tar.xz
More import -> importas conversions
Diffstat (limited to 'layout/rootfs/etc/udhcpc')
-rwxr-xr-xlayout/rootfs/etc/udhcpc/bound16
-rwxr-xr-xlayout/rootfs/etc/udhcpc/deconfig4
-rwxr-xr-xlayout/rootfs/etc/udhcpc/leasefail4
-rwxr-xr-xlayout/rootfs/etc/udhcpc/nak4
-rwxr-xr-xlayout/rootfs/etc/udhcpc/renew12
5 files changed, 20 insertions, 20 deletions
diff --git a/layout/rootfs/etc/udhcpc/bound b/layout/rootfs/etc/udhcpc/bound
index 8b87214..c6a5748 100755
--- a/layout/rootfs/etc/udhcpc/bound
+++ b/layout/rootfs/etc/udhcpc/bound
@@ -2,14 +2,14 @@
multisubstitute
{
- import -ui interface
- import -ui ip
- import -ui subnet
- import -ui mask
- import -ui router
- import -ui dns
- import -uD localdomain domain
- import -ui lease
+ importas -ui interface interface
+ importas -ui ip ip
+ importas -ui subnet subnet
+ importas -ui mask mask
+ importas -ui router router
+ importas -ui dns dns
+ importas -uD localdomain domain domain
+ importas -ui lease lease
}
foreground
diff --git a/layout/rootfs/etc/udhcpc/deconfig b/layout/rootfs/etc/udhcpc/deconfig
index b66ae9e..aee3f08 100755
--- a/layout/rootfs/etc/udhcpc/deconfig
+++ b/layout/rootfs/etc/udhcpc/deconfig
@@ -1,7 +1,7 @@
#!/command/execlineb -P
multisubstitute
{
- import -uD "<no server id>" serverid
- import -uD "<no error message>" message
+ importas -uD "<no server id>" serverid serverid
+ importas -uD "<no error message>" message message
}
s6-echo "udhcpc-script: deconfig: server ${serverid} said: ${message}"
diff --git a/layout/rootfs/etc/udhcpc/leasefail b/layout/rootfs/etc/udhcpc/leasefail
index 579dbac..2323345 100755
--- a/layout/rootfs/etc/udhcpc/leasefail
+++ b/layout/rootfs/etc/udhcpc/leasefail
@@ -1,7 +1,7 @@
#!/command/execlineb -P
multisubstitute
{
- import -uD "<no server id>" serverid
- import -uD "<no error message>" message
+ importas -uD "<no server id>" serverid serverid
+ importas -uD "<no error message>" message message
}
s6-echo "udhcpc-script: leasefail: server ${serverid} said: ${message}"
diff --git a/layout/rootfs/etc/udhcpc/nak b/layout/rootfs/etc/udhcpc/nak
index 3ed0bb6..3ebcd12 100755
--- a/layout/rootfs/etc/udhcpc/nak
+++ b/layout/rootfs/etc/udhcpc/nak
@@ -1,7 +1,7 @@
#!/command/execlineb -P
multisubstitute
{
- import -uD "<no server id>" serverid
- import -uD "<no error message>" message
+ importas -uD "<no server id>" serverid serverid
+ importas -uD "<no error message>" message message
}
s6-echo "udhcpc-script: nak: server ${serverid} said: ${message}"
diff --git a/layout/rootfs/etc/udhcpc/renew b/layout/rootfs/etc/udhcpc/renew
index 1bd5236..7b52a06 100755
--- a/layout/rootfs/etc/udhcpc/renew
+++ b/layout/rootfs/etc/udhcpc/renew
@@ -2,11 +2,11 @@
multisubstitute
{
- import -ui interface
- import -ui ip
- import -uD "<unknown mask>" mask
- import -uD "<unknown DNS>" dns
- import -ui router
- import -ui lease
+ importas -ui interface interface
+ importas -ui ip ip
+ importas -uD "<unknown mask>" mask mask
+ importas -uD "<unknown DNS>" dns dns
+ importas -ui router router
+ importas -ui lease lease
}
s6-echo "udhcpc-script: renew: ${ip}/${mask} on ${interface}, gateway ${router}, lease time ${lease}"