From: Michael Tremer Date: Wed, 21 Jul 2010 15:45:51 +0000 (+0200) Subject: network: Init ppp when running network. X-Git-Tag: 001~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63c45b9339314c31f6b57d31fb53c448fbd6bd3;p=network.git network: Init ppp when running network. --- diff --git a/functions.ppp b/functions.ppp index c1c5dae5..fa3a7bec 100644 --- a/functions.ppp +++ b/functions.ppp @@ -23,6 +23,8 @@ function ppp_init() { mkdir -p /var/run/ppp 2>/dev/null } +register_init ppp_init + function ppp_common_ip_pre_up() { local zone=${1} shift @@ -104,8 +106,6 @@ function ppp_accounting() { } function pppd_exec() { - ppp_init - log DEBUG "Running pppd with parameters '$@'." pppd $@ > /dev/null