Commit 2833fbca authored by Franco Fichtner's avatar Franco Fichtner

util: kill two bogus functions

parent edd1601b
<?php
/*
util.inc
part of the pfSense project (https://www.pfsense.org)
originally part of m0n0wall (http://m0n0.ch/wall)
/*
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
......@@ -29,14 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES: /bin/ps /bin/kill /usr/bin/killall /sbin/ifconfig /usr/bin/netstat
pfSense_BUILDER_BINARIES: /usr/bin/awk /sbin/dmesg /sbin/ping /usr/local/sbin/gzsig /usr/sbin/arp
pfSense_BUILDER_BINARIES: /sbin/conscontrol /sbin/devd /bin/ps
pfSense_MODULE: utils
*/
/* kill a process by pid file */
function killbypid($pidfile) {
return sigkillbypid($pidfile, "TERM");
}
......@@ -107,13 +96,6 @@ function clear_subsystem_dirty($subsystem = "") {
@unlink("{$g['varrun_path']}/{$subsystem}.dirty");
}
function config_lock() {
return;
}
function config_unlock() {
return;
}
/* lock configuration file */
function lock($lock, $op = LOCK_SH) {
global $g, $cfglckkeyconsumers;
......
......@@ -178,12 +178,10 @@ switch($action) {
// Don't know what all this means, but it addes the config changed header when config is saved
$retval = 0;
config_lock();
if(stristr($retval, "error") <> true)
$savemsg = get_std_save_message($retval);
else
$savemsg = $retval;
config_unlock();
if($_POST['email'])
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment