lzkill
Occasional Visitor
Hi folks.
I live under a dynamic IP connection and my ISP changes IPs every 48 hours.
In order to keep track of the lease times I've tried to make my RT-AC68R run a script to do so, but it seems not to be working. Why is the script being hit only by these
events?
/jffs/scripts/dhcpc-event
/tmp/000dhcpc-event
Thanks in advance!!!
I live under a dynamic IP connection and my ISP changes IPs every 48 hours.
In order to keep track of the lease times I've tried to make my RT-AC68R run a script to do so, but it seems not to be working. Why is the script being hit only by these
Code:
leasefail
/jffs/scripts/dhcpc-event
Code:
#!/bin/sh
touch /tmp/000dhcpc-event
echo "$1" >> /tmp/000dhcpc-event
/tmp/000dhcpc-event
Code:
deconfig
leasefail
leasefail
leasefail
leasefail
leasefail
leasefail
...
Thanks in advance!!!