summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 753ba8e..af90190 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -588,22 +588,6 @@ function find_virtual_ip_netmask($ip) {
}
}
-/****f* pfsense-utils/exec_command
- * NAME
- * exec_command - Execute a command and return a string of the result.
- * INPUTS
- * $command - String of the command to be executed.
- * RESULT
- * String containing the command's result.
- * NOTES
- * This function returns the command's stdout and stderr.
- ******/
-function exec_command($command) {
- $output = array();
- exec($command . ' 2>&1 ', $output);
- return(implode("\n", $output));
-}
-
/*
* convert_ip_to_network_format($ip, $subnet): converts an ip address to network form
OpenPOWER on IntegriCloud