summaryrefslogtreecommitdiff
path: root/src/conf_mode/system-login-banner.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 19:56:03 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 21:31:24 +0200
commit2124089f7d8388d99e14d0337bf6ce35f9f21f15 (patch)
tree4a9e60184628238b45cc8df79df13c9fe19d4103 /src/conf_mode/system-login-banner.py
parentf98bad44fc9cd152955ef9e2bc54e811b8dd6cf5 (diff)
downloadvyos-1x-2124089f7d8388d99e14d0337bf6ce35f9f21f15.tar.gz
vyos-1x-2124089f7d8388d99e14d0337bf6ce35f9f21f15.zip
banner: T2135: adjust to raw strings from vyatta-cfg repo
Diffstat (limited to 'src/conf_mode/system-login-banner.py')
-rwxr-xr-xsrc/conf_mode/system-login-banner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/system-login-banner.py b/src/conf_mode/system-login-banner.py
index 569010735..a960a4da3 100755
--- a/src/conf_mode/system-login-banner.py
+++ b/src/conf_mode/system-login-banner.py
@@ -22,11 +22,11 @@ from vyos import airbag
airbag.enable()
motd="""
-The programs included with the Debian GNU/Linux system are free software;
+The programs included with the Debian/VyOS GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
-Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
+Debian/VyOS GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
"""
@@ -36,7 +36,7 @@ PRELOGIN_NET_FILE = r'/etc/issue.net'
POSTLOGIN_FILE = r'/etc/motd'
default_config_data = {
- 'issue': 'Welcome to VyOS - \n \l\n',
+ 'issue': 'Welcome to VyOS - \\n \\l\n',
'issue_net': 'Welcome to VyOS\n',
'motd': motd
}