source: trunk/Modules/NetworkConfigAirOS/NetworkConfigAirOS.php

Last change on this file was 899, checked in by chronos, 4 years ago
File size: 647 bytes
Line 
1<?php
2
3include_once(dirname(__FILE__).'/Generators/Signal.php');
4
5class ModuleNetworkConfigAirOS extends Module
6{
7 function __construct(System $System)
8 {
9 parent::__construct($System);
10 $this->Name = 'NetworkConfigAirOS';
11 $this->Version = '1.0';
12 $this->Creator = 'Chronos';
13 $this->License = 'GNU/GPLv3';
14 $this->Description = 'Network service configuration of Ubiquity AirOS devices';
15 $this->Dependencies = array(ModuleNetworkConfig::GetName());
16 }
17
18 function DoStart(): void
19 {
20 ModuleNetworkConfig::Cast($this->System->GetModule('NetworkConfig'))->RegisterConfigItem('airos-signal', 'ConfigAirOSSignal');
21 }
22}
Note: See TracBrowser for help on using the repository browser.