]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/cfgroot/general-functions.pl
speed.cgi: reduce system load by copying two general-functions.
[people/pmueller/ipfire-2.x.git] / config / cfgroot / general-functions.pl
index f72d6588cf1358f4bc7fc0ab7402efed9420b187..c10a04faa20ed9db73d7828bf6eff7468f00aba7 100644 (file)
@@ -53,6 +53,7 @@ sub system_background($) {
 }
 
 # Returns the output of a shell command
+# if you change this also check speed.cgi that include a local copy for systemload reasons
 sub system_output($) {
        my @command = @_;
        my $pid;
@@ -1227,6 +1228,7 @@ sub firewall_reload() {
 }
 
 # Function which will return the used interface for the red network zone (red0, ppp0, etc).
+# if you change this also check speed.cgi that include a local copy for systemload reasons
 sub get_red_interface() {
 
        open(IFACE, "${General::swroot}/red/iface") or die "Could not open /var/ipfire/red/iface";