diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-23 08:19:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 08:19:00 +0200 |
commit | b734d1f277dc85a48e6c9b305e315cfc3e7a89d5 (patch) | |
tree | 1f73581acff932c0b2a617eae41caf4cb0fd25c7 | |
parent | 92baf98bf80682cdec7adcf19bdf0e89ab597ff1 (diff) | |
parent | 9d90e21a747c46c4c7e455c9938a2b9d20c10421 (diff) | |
download | vyos-1x-b734d1f277dc85a48e6c9b305e315cfc3e7a89d5.tar.gz vyos-1x-b734d1f277dc85a48e6c9b305e315cfc3e7a89d5.zip |
Merge pull request #3348 from vyos/mergify/bp/sagitta/pr-3347
connect_disconnect: T6261: correction to typo in check_ppp_running (backport #3347)
-rwxr-xr-x | src/op_mode/connect_disconnect.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/op_mode/connect_disconnect.py b/src/op_mode/connect_disconnect.py index bd02dc6ea..373f9e953 100755 --- a/src/op_mode/connect_disconnect.py +++ b/src/op_mode/connect_disconnect.py @@ -48,7 +48,7 @@ def connect(interface): if os.path.isdir(f'/sys/class/net/{interface}'): print(f'Interface {interface}: already connected!') elif check_ppp_running(interface): - print(f'Interface {interface}: connection is beeing established!') + print(f'Interface {interface}: connection is being established!') else: print(f'Interface {interface}: connecting...') call(f'systemctl restart ppp@{interface}.service') @@ -58,7 +58,7 @@ def connect(interface): else: call(f'VYOS_TAGNODE_VALUE={interface} /usr/libexec/vyos/conf_mode/interfaces_wwan.py') else: - print(f'Unknown interface {interface}, can not connect. Aborting!') + print(f'Unknown interface {interface}, cannot connect. Aborting!') # Reaply QoS configuration config = ConfigTreeQuery() @@ -90,7 +90,7 @@ def disconnect(interface): modem = interface.lstrip('wwan') call(f'mmcli --modem {modem} --simple-disconnect', stdout=DEVNULL) else: - print(f'Unknown interface {interface}, can not disconnect. Aborting!') + print(f'Unknown interface {interface}, cannot disconnect. Aborting!') def main(): parser = argparse.ArgumentParser() |