%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/etc/
Upload File :
Create Path :
Current File : //backups/router/usr/local/etc/rc.restart_webgui

#!/usr/local/bin/php
<?php

require_once('config.inc');
require_once('interfaces.inc');
require_once('util.inc');
require_once('system.inc');
require_once('plugins.inc.d/webgui.inc');

if (count($argv) > 1) {
    if (is_numeric($argv[1])) {
        /* starting delayed */
        sleep($argv[1]);
    } elseif ($argv[1] == 'renew') {
        webgui_create_selfsigned(true);
    }
}

webgui_configure_do(true);

Zerion Mini Shell 1.0