diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-pppoe.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index 4ca7f3ecb..245f5a4b0 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -231,6 +231,10 @@ def generate(pppoe): return None def apply(pppoe): + if pppoe['deleted']: + # bail out early + return None + if not pppoe['disable']: # Dial PPPoE connection cmd = 'systemctl start ppp@{}.service'.format(pppoe['intf']) |