32 lines
502 B
PHP
32 lines
502 B
PHP
<?php
|
|
/*
|
|
*
|
|
* public function restart_quagga()
|
|
{
|
|
return shell_exec("./zebracfg.php");
|
|
}
|
|
*/
|
|
|
|
class QuaggaPlugin implements IPluggable
|
|
{
|
|
public function restart()
|
|
{
|
|
return shell_exec("./zebracfg.php");
|
|
}
|
|
public function enable()
|
|
{
|
|
// TODO: Implement enable() method.
|
|
}
|
|
|
|
public function disable()
|
|
{
|
|
// TODO: Implement disable() method.
|
|
}
|
|
|
|
public function init()
|
|
{
|
|
// TODO: Implement init() method.
|
|
}
|
|
|
|
|
|
} |