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:
authorDaniel Drake <dsd@laptop.org>2012-09-26 17:53:36 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-09-27 14:38:55 (GMT)
commitb0a020f1ae8f32f15f2e134a3d3c6938b92a86f9 (patch)
tree9a8acf7715ab050d568cbf6a2c576e4dcb309302 /modules/xo4/kspost.50.xo4-tweaks.inc
parentd6735010b5df143fa7e93af065845e6597503d48 (diff)
Add XO-4 support
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