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-09-04 17:55:16 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-09-04 17:55:16 (GMT)
commit5c3843d094390f1cb1f8a1ce2b36d22297b854e2 (patch)
treeeec2e4fdb709345110f627a83cc1d7b133bb04a1
parentf3f267e8f902ac31ed42ff0b76c090033274c822 (diff)
base: fix quoting of plymouthd arguments (#12042)
We got bitten by some strange systemd behaviour with quoting. http://lists.freedesktop.org/archives/systemd-devel/2012-September/006447.html
-rw-r--r--modules/base/kspost.10.core.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index edb040f..6a26c7a 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -222,9 +222,9 @@ ln -s /dev/null /etc/systemd/system/plymouth-start.service
# apply some special settings in the other plymouth service files until
# we have a better solution.
# https://bugs.freedesktop.org/show_bug.cgi?id=22239
-sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line="rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-poweroff.service
-sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line="rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-halt.service
-sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown --kernel-command-line="rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-reboot.service
+sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown "--kernel-command-line=rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-poweroff.service
+sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown "--kernel-command-line=rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-halt.service
+sed -i -e 's/plymouthd --mode=shutdown/plymouthd --mode=shutdown "--kernel-command-line=rhgb plymouth.ignore-serial-consoles"/g' /lib/systemd/system/plymouth-reboot.service
# remove the boot-duration file since it gets changed during boot (#11862)
rm -f /var/lib/plymouth/boot-duration