diff options
author | Ermal <eri@pfsense.org> | 2010-03-27 00:08:02 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-27 00:08:02 +0000 |
commit | 65a82e32a8750980361f59ddf64b234599b5ab2b (patch) | |
tree | 3d96cf23fa474e41c20b4e567d1365ee94ed94f0 | |
parent | 611ae8521469576569a8d9c0d306668fe1b20dfe (diff) | |
download | pfsense-65a82e32a8750980361f59ddf64b234599b5ab2b.zip pfsense-65a82e32a8750980361f59ddf64b234599b5ab2b.tar.gz |
Close console and web services for mpd.
-rw-r--r-- | etc/inc/interfaces.inc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 35f728a..3ad2b8b 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2133,6 +2133,11 @@ function interface_pppoe_configure($interface = "wan") { $mpdconf = <<<EOD startup: + # configure the web server + set console close + set web close + +default: pppoeclient: EOD; @@ -2286,7 +2291,12 @@ function interface_pptp_configure($interface) { $mpdconf = <<<EOD startup: -pptp: + # configure the web server + set console close + set web close + +default: +pptpclient: EOD; @@ -2380,7 +2390,7 @@ EOD; else log_error("Could not bring interface wancfg['if'] up in interface_pptp_configure()"); /* fire up mpd */ - mwexec("/usr/local/sbin/mpd5 -b -k -d {$g['varetc_path']} -f mpd_{$interface}.conf -p {$g['varrun_path']}/pptp_{$interface}.pid -s {$interface} pptp"); + mwexec("/usr/local/sbin/mpd5 -b -k -d {$g['varetc_path']} -f mpd_{$interface}.conf -p {$g['varrun_path']}/pptp_{$interface}.pid -s {$interface} pptpclient"); return 0; } |