diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-07 20:52:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-07 20:52:33 +0000 |
commit | 0df08a4108a49cacffd2c7165a42e8fbcc77201a (patch) | |
tree | 3701b3fb0d2158a2301e4c1a8847b9360d9350ca /usr/local | |
parent | 0013ccf17b4d68d9e9fbf13cde5678cf806d0a45 (diff) | |
download | pfsense-0df08a4108a49cacffd2c7165a42e8fbcc77201a.zip pfsense-0df08a4108a49cacffd2c7165a42e8fbcc77201a.tar.gz |
Unlink shaper dirty flags after Apply.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index 8eb10e8..b00f251 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -66,7 +66,9 @@ if ($_POST) { $savemsg = get_std_save_message($retval); else $savemsg = $retval; - exec("rm " . $d_shaperconfdirty_path); + + if(file_exists($d_shaperconfdirty_path)) + unlink($d_shaperconfdirty_path); } } |