diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-22 16:13:04 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-22 16:13:04 -0400 |
commit | 8ca79ca87460f67526d0d2388d68b371e680dcec (patch) | |
tree | d6221c8806ee830f14d6739f8dce747b07d8a86e /config | |
parent | 588d84909df6e089211c081239a441ee4e1776fb (diff) | |
download | pfsense-packages-8ca79ca87460f67526d0d2388d68b371e680dcec.tar.gz pfsense-packages-8ca79ca87460f67526d0d2388d68b371e680dcec.tar.bz2 pfsense-packages-8ca79ca87460f67526d0d2388d68b371e680dcec.zip |
open file for writing
Diffstat (limited to 'config')
-rw-r--r-- | config/haproxy/haproxy.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index b42398a4..527546ff 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -86,7 +86,7 @@ run_rc_command "\$1" EOD; - $fd = fopen("/usr/local/etc/rc.d/haproxy.sh"); + $fd = fopen("/usr/local/etc/rc.d/haproxy.sh", "w"); fwrite($fd, $haproxy); fclose($fd); exec("chmod a+rx /usr/local/etc/rc.d/haproxy.sh"); |