Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-06-09 03:09:37 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-06-09 03:09:37 (GMT)
commite11941ffaaecd0c14932a9b5f1ac102c611c242c (patch)
tree9a3a535261e538c68eaf6c4aa7a1661bc3b3e4a1
parent81a7b2ae6d0b542d3c5493bda0d7c107dc46bc64 (diff)
base: fix mingetty parameters (#11925)
Add missing %I. Fix from Sam Greenfeld. This was breaking /dev permissions and VT access.
-rw-r--r--modules/base/kspost.10.core.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index 46ed478..712c50f 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -52,7 +52,7 @@ SYSFONT=sun12x22
__EOF__
# OLPC custom VT layout and serial console setup (#9517, #10354)
-sed -i -e 's:/sbin/agetty.*:/sbin/mingetty --loginpause --autologin root --noclear %:' \
+sed -i -e 's:/sbin/agetty.*:/sbin/mingetty --loginpause --autologin root --noclear %I:' \
/lib/systemd/system/getty\@.service
sed -i -e 's:/sbin/agetty.*:/sbin/agetty -L -l /bin/bash -w -n %I 115200 vt100:' \
/lib/systemd/system/serial-getty\@.service