mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added master and release update-channels
This commit is contained in:
12
daily.php
12
daily.php
@@ -35,7 +35,17 @@ The ' . $config['project_name'] . ' team.';
|
|||||||
exit(2);
|
exit(2);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
exit((int) $config['update']);
|
if ($config['update']) {
|
||||||
|
if ($config['update_channel'] == 'master') {
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
elseif ($config['update_channel'] == 'release') {
|
||||||
|
exit(3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -828,3 +828,6 @@ $config['availability-map-width'] = 25;
|
|||||||
|
|
||||||
// Default notifications Feed
|
// Default notifications Feed
|
||||||
$config['notifications']['LibreNMS'] = 'http://www.librenms.org/notifications.rss';
|
$config['notifications']['LibreNMS'] = 'http://www.librenms.org/notifications.rss';
|
||||||
|
|
||||||
|
// Update channel (Can be 'master' or 'release')
|
||||||
|
$config['update_channel'] = 'master';
|
||||||
|
Reference in New Issue
Block a user