mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Merge branch 'master' into core115
This commit is contained in:
@@ -75,7 +75,7 @@ if ( "$ARGV[0]" eq "mount" ) {
|
||||
if ( ! `/bin/mount | /bin/fgrep $ARGV[1]` ) {
|
||||
system("/bin/cp -f /etc/fstab $fstab");
|
||||
system("/bin/fgrep -v $ARGV[1] <$fstab >/etc/fstab");
|
||||
print "Succesfully umounted $ARGV[1].\n";
|
||||
print "Successfully umounted $ARGV[1].\n";
|
||||
exit(0);
|
||||
} else {
|
||||
print "Can't umount $ARGV[1].\n";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/rc.d/init.d/unbound
|
||||
srv/web/ipfire/cgi-bin/extrahd.cgi
|
||||
var/ipfire/langs
|
||||
|
||||
@@ -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