summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/udhcpc
diff options
context:
space:
mode:
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}"