mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 01:12:57 +02:00
Merge branch 'master' into core115
This commit is contained in:
@@ -48,8 +48,13 @@ my $partitionentry = "";
|
||||
my $devicefile = "/var/ipfire/extrahd/devices";
|
||||
my $scanfile = "/var/ipfire/extrahd/scan";
|
||||
my $partitionsfile = "/var/ipfire/extrahd/partitions";
|
||||
system("/usr/local/bin/extrahdctrl scanhd ide");
|
||||
system("/usr/local/bin/extrahdctrl scanhd partitions");
|
||||
|
||||
#workaround to suppress a warning when a variable is used only once
|
||||
my @dummy = ( ${Header::colourgreen}, ${Header::colourred} );
|
||||
undef (@dummy);
|
||||
|
||||
system("/usr/local/bin/extrahdctrl scanhd ide >/dev/null");
|
||||
system("/usr/local/bin/extrahdctrl scanhd partitions >/dev/null");
|
||||
|
||||
&Header::showhttpheaders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user