summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/udhcpc/renew
blob: 7b52a06857fbfb581a79e8bac7fb38259fc1d437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/command/execlineb -P

multisubstitute
{
  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}"