* More haste, less speed:

- Perform in-place edit.
  - Allow variable expansion.
ubuntu/yakkety
James Hunt 11 years ago
parent e4719c1cfc
commit 6627b99d73

@ -3,7 +3,7 @@
# Boot using systemd and disable quiet boot
# to see what is happening.
systemd=/lib/systemd/systemd
sed \
-e 's,^\([ ]*GRUB_CMDLINE_LINUX\)=""$,\1="init=$systemd",g' \
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
sed -i \
-e "s,^\([ ]*GRUB_CMDLINE_LINUX\)=\"\"$,\1=\"init=$systemd\",g" \
-e "s,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)=\"quiet splash\",\1=\"\",g" \
/etc/default/grub

Loading…
Cancel
Save