]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/extrahd.cgi
IPsec: Apple: Add desired cipher suites to profiles
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / extrahd.cgi
index 5a6fbce8310201bb55287f550036536820d75312..aaf42bafff28683d90caa5507f7cad3bd98660c8 100644 (file)
@@ -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();
 
@@ -151,7 +156,7 @@ END
                                                <input type='hidden' name='DEVICE' value='$deviceline[0]' />
                                                <input type='hidden' name='FS' value='$deviceline[1]' />
                                                <input type='hidden' name='PATH' value='$deviceline[2]' />
-                                               <input type='hidden' name='ACTION' value=$Lang::tr{'delete'} />
+                                               <input type='hidden' name='ACTION' value='$Lang::tr{'delete'}' />
                                                <input type='image' alt='$Lang::tr{'delete'}' title='$Lang::tr{'delete'}' src='/images/delete.gif' />
                                        </form></td></tr>
 END
@@ -223,7 +228,7 @@ END
                                <td align="center">
                                        <input type='hidden' name='DEVICE' value='$partitionline[0]' />
                                        <input type='hidden' name='UUID' value='$partitionline[2]' />
-                                       <input type='hidden' name='ACTION' value=$Lang::tr{'add'} />
+                                       <input type='hidden' name='ACTION' value='$Lang::tr{'add'}' />
                                        <input type='image' alt='$Lang::tr{'add'}' title='$Lang::tr{'add'}' src='/images/add.gif' />
                                </form></td></tr>
 END