Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/xo4/kspost.50.xo4-tweaks.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xo4/kspost.50.xo4-tweaks.inc')
-rw-r--r--modules/xo4/kspost.50.xo4-tweaks.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/xo4/kspost.50.xo4-tweaks.inc b/modules/xo4/kspost.50.xo4-tweaks.inc
new file mode 100644
index 0000000..6d435c9
--- /dev/null
+++ b/modules/xo4/kspost.50.xo4-tweaks.inc
@@ -0,0 +1,8 @@
+# enable serial console on ttyS2
+ln -sf /lib/systemd/system/serial-getty@.service \
+ /etc/systemd/system/getty.target.wants/serial-getty@ttyS2.service
+
+# enable serial console for runin too
+mkdir -p /etc/systemd/system/runin.target.wants
+ln -sf /lib/systemd/system/serial-getty@.service \
+ /etc/systemd/system/runin.target.wants/serial-getty@ttyS2.service