Add Dnsmasq
This commit is contained in:
parent
6bcafa1e01
commit
1d83acb37d
1 changed files with 14 additions and 0 deletions
14
modules/Dnsmasq.php
Normal file
14
modules/Dnsmasq.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Dnsmasq extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Simon Kelley', 'Dnsmasq', 'http://www.thekelleys.org.uk/dnsmasq/doc.html');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('http://www.thekelleys.org.uk/dnsmasq/'))
|
||||||
|
return $this->parse('/"LATEST_IS_([\d\.]+)"/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue