diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-18 17:58:10 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-18 17:59:10 +0100 |
commit | 4747e944233de14b5c66ca3d7004d1174554681a (patch) | |
tree | 4d24dc4ddd69cb899c9beec0717f17a28eacaf29 /src | |
parent | a032d73f1d405f3bae269791e9064026faa491d9 (diff) | |
download | vyos-1x-4747e944233de14b5c66ca3d7004d1174554681a.tar.gz vyos-1x-4747e944233de14b5c66ca3d7004d1174554681a.zip |
wwan: T3795: do not fail config-load when signal is missing
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-wwan.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wwan.py b/src/conf_mode/interfaces-wwan.py index 31c599145..cb46b3723 100755 --- a/src/conf_mode/interfaces-wwan.py +++ b/src/conf_mode/interfaces-wwan.py @@ -25,7 +25,9 @@ from vyos.configverify import verify_interface_exists from vyos.configverify import verify_vrf from vyos.ifconfig import WWANIf from vyos.util import cmd +from vyos.util import call from vyos.util import dict_search +from vyos.util import DEVNULL from vyos.template import render from vyos import ConfigError from vyos import airbag @@ -89,7 +91,7 @@ def apply(wwan): options += ',user={user},password={password}'.format(**wwan['authentication']) command = f'{base_cmd} --simple-connect="{options}"' - cmd(command) + call(command, stdout=DEVNULL) w.update(wwan) return None |