summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-01-22 18:36:54 +0000
committerErmal Luçi <eri@pfsense.org>2010-01-22 18:36:54 +0000
commit44681f375c55426026659c402ecdd99f69146a7c (patch)
tree90f818b9e14829cb992655e00622501f1235703b /etc/inc
parent27e7bc911148d58e078f70bbccb264a3335abfa5 (diff)
downloadpfsense-44681f375c55426026659c402ecdd99f69146a7c.zip
pfsense-44681f375c55426026659c402ecdd99f69146a7c.tar.gz
Allow ppp to run during bootup.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 5f78a6f..6a38767 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -940,7 +940,7 @@ function interface_ppp_configure($ifcfg,$edit=false) {
exec("chmod a+rx /etc/ppp/ppp.linkdown");
}
// Launch specified ppp instance
- if( !$edit && file_exists("/dev/{$orig_dev}")){
+ if( (!$edit || $g['booting']) && file_exists("/dev/{$orig_dev}")){
$running = `ps awux | grep ppp | grep -v grep | grep $orig_dev`;
if(!$running)
mwexec("/usr/sbin/ppp -background {$orig_dev}");
OpenPOWER on IntegriCloud