Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/base/kspost.10.core.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index 34814f8..46ed478 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -52,9 +52,9 @@ SYSFONT=sun12x22
__EOF__
# OLPC custom VT layout and serial console setup (#9517, #10354)
-sed -i -e 's/agetty.*/mingetty --loginpause --autologin root --noclear %I/' \
+sed -i -e 's:/sbin/agetty.*:/sbin/mingetty --loginpause --autologin root --noclear %:' \
/lib/systemd/system/getty\@.service
-sed -i -e 's:agetty.*:agetty -L -l /bin/bash -w -n %I 115200 vt100:' \
+sed -i -e 's:/sbin/agetty.*:/sbin/agetty -L -l /bin/bash -w -n %I 115200 vt100:' \
/lib/systemd/system/serial-getty\@.service
# Enable tmpfs mounts dictated by rwtab (#9637)