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

multisubstitute
{
  import -ui interface
  import -ui ip
  import -uD "<unknown mask>" mask
  import -uD "<unknown DNS>" dns
  import -ui router
  import -ui lease
}
s6-echo "udhcpc-script: renew: ${ip}/${mask} on ${interface}, gateway ${router}, lease time ${lease}"