mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
lnms link in /usr/bin (#12446)
* lnms link in /usr/bin Just put the lnms link in /usr/bin. Fairly odd that distros don't have /usr/local/bin in PATH * Update System.php
This commit is contained in:
@@ -40,7 +40,7 @@ class System extends BaseValidation
|
||||
|
||||
$lnms = `which lnms 2>/dev/null`;
|
||||
if (empty($lnms)) {
|
||||
$validator->warn('Global lnms shortcut not installed. lnms command must be run with full path', "sudo ln -s $install_dir/lnms /usr/local/bin/lnms");
|
||||
$validator->warn('Global lnms shortcut not installed. lnms command must be run with full path', "sudo ln -s $install_dir/lnms /usr/bin/lnms");
|
||||
}
|
||||
|
||||
$bash_completion_dir = '/etc/bash_completion.d/';
|
||||
|
Reference in New Issue
Block a user