made it automatically use WebGUI and the ups-driver folders
This commit is contained in:
parent
17681a3fb5
commit
d55a901e43
1 changed files with 2 additions and 1 deletions
|
|
@ -8,10 +8,11 @@ $|++; # disable output buffering
|
|||
our ($webguiRoot, $configFile, $help, $man);
|
||||
|
||||
BEGIN {
|
||||
$webguiRoot = "..";
|
||||
$webguiRoot = "/data/WebGUI";
|
||||
unshift (@INC, $webguiRoot."/lib");
|
||||
}
|
||||
|
||||
use lib '/data/ups-driver';
|
||||
use strict;
|
||||
use Pod::Usage;
|
||||
use Getopt::Long;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue