summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/wwan/peer.tmpl1
-rwxr-xr-xsrc/conf_mode/interfaces-wirelessmodem.py6
2 files changed, 1 insertions, 6 deletions
diff --git a/data/templates/wwan/peer.tmpl b/data/templates/wwan/peer.tmpl
index b8a7d10ae..0168283fd 100644
--- a/data/templates/wwan/peer.tmpl
+++ b/data/templates/wwan/peer.tmpl
@@ -14,7 +14,6 @@ usepeerdns
lcp-echo-failure 0
115200
debug
-logfile {{ logfile }}
nodefaultroute
ipcp-max-failure 4
ipcp-accept-local
diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py
index f16457a7f..571969f4d 100755
--- a/src/conf_mode/interfaces-wirelessmodem.py
+++ b/src/conf_mode/interfaces-wirelessmodem.py
@@ -24,7 +24,7 @@ from sys import exit
from vyos.config import Config
from vyos.ifconfig import BridgeIf, Section
from vyos.template import render
-from vyos.util import chown, chmod_755, cmd, call
+from vyos.util import call
from vyos.validate import is_member
from vyos import ConfigError
@@ -41,7 +41,6 @@ default_config_data = {
'disable': False,
'disable_link_detect': 1,
'on_demand': False,
- 'logfile': '',
'metric': '10',
'mtu': '1500',
'name_server': True,
@@ -76,7 +75,6 @@ def get_config():
raise ConfigError('Interface (VYOS_TAGNODE_VALUE) not specified')
wwan['intf'] = os.environ['VYOS_TAGNODE_VALUE']
- wwan['logfile'] = f"/var/log/vyatta/ppp_{wwan['intf']}.log"
wwan['chat_script'] = f"/etc/ppp/peers/chat.{wwan['intf']}"
# check if interface is member if a bridge
@@ -225,8 +223,6 @@ def apply(wwan):
if not wwan['disable']:
# "dial" WWAN connection
intf = wwan['intf']
- # make logfile owned by root / vyattacfg
- chown(wwan['logfile'], 'root', 'vyattacfg')
call(f'systemctl start ppp@{intf}.service')
# re-add ourselves to any bridge we might have fallen out of