summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-05 16:56:17 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-05 16:56:17 +0200
commitd93aa7a934b35dbb4229d2463a869cbaee1654cd (patch)
tree59b0bfdcc8ba85228a5ff956ed388887f0fc7dc6 /scripts
parent826aef312d5db61bcb8db722d692b5e4c5e241e8 (diff)
downloadvyatta-cfg-d93aa7a934b35dbb4229d2463a869cbaee1654cd.tar.gz
vyatta-cfg-d93aa7a934b35dbb4229d2463a869cbaee1654cd.zip
serial: T1739: properly delete/recreate serial interface on system boot
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init/vyos-router1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 7150a5e..e4fc700 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -281,6 +281,7 @@ start ()
# As VyOS does not execute commands that are not present in the CLI we call
# the script by hand to have a single source for the login banner and MOTD
+ ${vyos_conf_scripts_dir}/system_console.py || log_failure_msg "could not reset serial console"
${vyos_conf_scripts_dir}/system-login-banner.py || log_failure_msg "could not reset motd and issue files"
${vyos_conf_scripts_dir}/system-option.py || log_failure_msg "could not reset system option files"