aredn/files/usr/local/bin
Conrad Lara - KG6JEI fde5c1367e bugfix: olsrd-watchdog false triggers a reboot.
Using the method suggested by Henning Rogge in 2014

{{{
1) remove file
2) wait 2 intervals
3) if file exists, go to 1)
4) restart olsr, then go to 1)
}}}

With the exception that we currently wait more than 2 intervals.

Even if the script hits a collision at the same time the file is being written the file will already exist from one of the previous writes or the current write.

Removing a file in use is safe as once the FD closes the file contents are fully released.

Additional Advantages:
* Should be more efficient to check if file exists instead of reading the file and comparing date stamps.
* Removing the Perl code moves us one step closer to retiring Perl in the future.
2015-01-15 16:35:55 -08:00
..
aimer Due to the following commits we need to increase the protocol version to V3 2014-09-11 23:16:27 -07:00
bbhnrecoverymode bugfix: bbhnrecoverymode uhttpd needs to be restarted. 2014-09-15 16:56:41 -07:00
connect Merge SDWG Mesh progress with 1.0.0 BBHN 2013-12-02 12:04:54 -08:00
fccid Switch to using socat as we need to be able to name the interface packets leave due to dtdlink interface. 2014-06-24 20:57:44 -07:00
firmwarecheck.sh Firmware image verification script is missing from repo 2013-12-09 20:25:13 -08:00
fw-debug import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00
get_hardwaretype Merge SDWG Mesh progress with 1.0.0 BBHN 2013-12-02 12:04:54 -08:00
get_model Merge SDWG Mesh progress with 1.0.0 BBHN 2013-12-02 12:04:54 -08:00
ifstat import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00
linkled Merge SDWG Mesh progress with 1.0.0 BBHN 2013-12-02 12:04:54 -08:00
node-setup Resolve issue with NAT mode not working in 1.1.1 2014-07-10 20:04:06 -07:00
nvram-setup Add new feature device-to-device linking (dtdlink) 2014-04-08 23:19:45 -07:00
olsrd-config bugfix: Links on status page use midX domains which are not resolveable on host they reference. 2014-06-23 19:42:20 -07:00
olsrd-namechange import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00
olsrd-namechange-loop import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00
olsrd-watchdog bugfix: olsrd-watchdog false triggers a reboot. 2015-01-15 16:35:55 -08:00
recvudp import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00
reflash Merge SDWG Mesh progress with 1.0.0 BBHN 2013-12-02 12:04:54 -08:00
setpasswd import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00
wifi-onbootchains Merge SDWG Mesh progress with 1.0.0 BBHN 2013-12-02 12:04:54 -08:00
wscan bugfix: fix wscan 'unknown' network handling 2014-09-11 23:25:02 -07:00