#!/usr/bin/env php . * * @link https://www.librenms.org * * @copyright 2020 Adam Bishop * @author Adam Bishop */ if (php_sapi_name() === 'cli') { $init_modules = []; require realpath(__DIR__ . '/..') . '/includes/init.php'; $return = \Artisan::call('smokeping:generate --targets --no-header --no-dns --single-process --compat'); echo \Artisan::output(); exit($return); } exit;