summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-09 20:45:15 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-09 20:45:15 +0200
commit00f95c93b6c3aca25d5f4ba0e29b4f8db954952c (patch)
treec2e617c251498dc30a3467c51b3ff7a9651283d1 /src/etc/systemd/system
parent63256e1b57153762d1d5028fc0bbb8f373ce1433 (diff)
downloadvyos-1x-00f95c93b6c3aca25d5f4ba0e29b4f8db954952c.tar.gz
vyos-1x-00f95c93b6c3aca25d5f4ba0e29b4f8db954952c.zip
T3355: import startup scripts from vyatta-cfg repo for vyos-router
Diffstat (limited to 'src/etc/systemd/system')
-rw-r--r--src/etc/systemd/system/getty@.service.d/aftervyos.conf3
-rw-r--r--src/etc/systemd/system/serial-getty@.service.d/aftervyos.conf3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/systemd/system/getty@.service.d/aftervyos.conf b/src/etc/systemd/system/getty@.service.d/aftervyos.conf
new file mode 100644
index 000000000..c5753900e
--- /dev/null
+++ b/src/etc/systemd/system/getty@.service.d/aftervyos.conf
@@ -0,0 +1,3 @@
+[Service]
+ExecStartPre=-/usr/libexec/vyos/init/vyos-config
+StandardOutput=journal+console
diff --git a/src/etc/systemd/system/serial-getty@.service.d/aftervyos.conf b/src/etc/systemd/system/serial-getty@.service.d/aftervyos.conf
new file mode 100644
index 000000000..8ba42778d
--- /dev/null
+++ b/src/etc/systemd/system/serial-getty@.service.d/aftervyos.conf
@@ -0,0 +1,3 @@
+[Service]
+ExecStartPre=-/usr/libexec/vyos/init/vyos-config SERIAL
+StandardOutput=journal+console